网上科普有关“inceptor、hive遇到的问题”话题很是火热,小编也是针对inceptor、hive遇到的问题寻找了一些与之相关的一些信息进行分析,如果能碰巧解决你现在面临的问题,希望能够帮助到您。
1.创建表
create table if not exists text (sid int ,sname String);
2.插入数据时报错:
insert into text values (1,"zhangsan");
[42000][10797] COMPILE FAILED: Semantic error: [Error 10797] Only allow to single insert into Hyperbase/ES/Transaction Orc, other data destination not allowed
意思是使用insert into 方式插入数据只能是orc事务表,其他类型的源数据是不被允许的
3.网上查找解决方式是这样创建表:
create table if not exists text (sid int ,sname String)
row format delimited fields terminated by ',' stored as ORC;
使用这种方式创建表后还是报同样的错误
4.加个分桶解决问题
SET transaction.type=inceptor;
CREATE TABLE ta (name STRING,age INT)CLUSTERED BY (age)INTO 2 BUCKETS STORED AS ORC
TBLPROPERTIES ("transactional"="true");
关于“inceptor、hive遇到的问题”这个话题的介绍,今天小编就给大家分享完了,如果对你有所帮助请保持对本站的关注!
本文来自作者[延子伯]投稿,不代表小熊号立场,如若转载,请注明出处:https://xx-scm.com/cshi/202604-178884.html
评论列表(4条)
我是小熊号的签约作者“延子伯”!
希望本篇文章《inceptor、hive遇到的问题》能对你有所帮助!
本站[小熊号]内容主要涵盖:国足,欧洲杯,世界杯,篮球,欧冠,亚冠,英超,足球,综合体育
本文概览:网上科普有关“inceptor、hive遇到的问题”话题很是火热,小编也是针对inceptor、hive遇到的问题寻找了一些与之相关的一些信息进行分析,如果能碰巧解决你现在面临...