Getting Error in Hive while running a script

耗尽温柔 提交于 2019-12-13 03:57:07

问题


I am creating a temp table from another table using AS clause where i am including the partition column of another table also be part of temp table and then i am getting the below error. Below is the table create statement where col4 is the partition column of table xyz.

And while running the create statement i am getting the below error. And when i am removing the col4 from the create statement its running fine

Error: Error while compiling statement: FAILED: NumberFormatException For input string: "HIVE_DEFAULT_PARTITION" (state=42000,code=40000)

Please help.

Example: CREATE TEMPORARY TABLE abc STORED AS PARQUET AS SELECT

col1 AS col1,

col2 AS col2,

col3 AS col3,

col4 AS col4

FROM xyz;

Regards,

Vimarsh

来源:https://stackoverflow.com/questions/51647217/getting-error-in-hive-while-running-a-script

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!