Daw-Ins 2021-10-03 11:26 采纳率: 100%
浏览 49
已结题

hadoop hive sql语句报错

tab0表 是load data local inpath 'x' overwrite into table tab0;
将表中的数据简单清洗写入tab1,
然后查询tab1将结果写入tab4报错,直接tab0不报错。
tab0:

create table tab0(
day_id bigint,
sale_nbr string,
buy_nbr string,
cnt int,
round double
)
row format delimited fields terminated by ','
lines terminated by '\n';

tab1:

create table tab1(
day_id string,
sale_nbr string,
buy_nbr string,
cnt int,
round double
 )
row format delimited fields terminated by ','
lines terminated by '\n';

img

img

img

  • 写回答

2条回答 默认 最新

      报告相同问题?

      相关推荐 更多相似问题

      问题事件

      • 系统已结题 8月15日
      • 已采纳回答 8月7日
      • 修改了问题 10月3日
      • 创建了问题 10月3日

      悬赏问题

      • ¥100 基于做一个模拟智慧路灯
      • ¥15 ME21N 创建采购成功并且生成采购订单号,但显示“快件文档更新已取消”,SM13看错误提示为如下截图:
      • ¥30 android 集成fmod实现变声功能中遇到的问题
      • ¥15 关于#matlab#的问题,如何解决?
      • ¥15 51单片机汇编语言Keil5基础问题!
      • ¥15 CygwinPortable 中 NumPy 无法安装
      • ¥15 vivado如何支持多维打包数组模式
      • ¥15 请问第13题到底应该怎么做
      • ¥15 倒计时汇编语言RTC实时时钟
      • ¥15 CCS安装出现Failed to create the part's controls