sql报错
fanqieshuo
这个作者很懒,什么都没留下…
展开
-
sql报错:Table insclause-0 has 4 columns, but query has 15 columns.
2)检查下是不是建表的时候直接copy的sql语句,没有改表名....建表语句的字段或者字段个数和前置设置的表架构不一致。原创 2024-04-26 17:01:51 · 394 阅读 · 1 评论 -
sql报错:Dynamic partition strict mode requires at least one static partition column.
建表里面有动态分区。(动态分区:比如以时间作为分区,那么分区就是每天都在增加,即是动态分区)原创 2024-04-26 16:58:29 · 571 阅读 · 3 评论 -
FAILED:ParseException line 33:39 mismatched input ‘<EOF>‘ expecting ) near ‘)‘ in subquery source
FAILED:ParseException line 33:39 mismatched input '' expecting ) near ')' in subquery source原创 2021-11-24 13:28:58 · 4435 阅读 · 0 评论 -
FAILED: ParseException line 2:44 mismatched input ‘<EOF>‘ expecting ( near ‘AS‘ in statement
报错理由千奇百怪,其实不是(有什么问题,是注释里有分号;sql里面千万不要用分号WITH invinfo AS --sku信息,三级部门+三级品类+品牌+band+采销员+名称;时点库存水位和28天出库销量 ( SELECT sku_id, bu_name, dept_name_1, dept_name_2, dept_name_3, saler_name, pur_name, pur_control_name, item_first_ca原创 2021-11-29 14:15:02 · 3056 阅读 · 0 评论 -
FAILED: SemanticException [Error 10007]: Ambiguous column reference qtty_from_day91 in longageinfo
仔细检查下,肯定是有2列的名字是一样的原创 2021-11-29 14:39:12 · 755 阅读 · 0 评论 -
FAILED:identifiers must not start with a digit; surround the identifier with double quotes
自己命名的字段里面有数字,删除就可以了。原创 2024-03-21 09:34:33 · 416 阅读 · 1 评论