- 博客(3)
- 收藏
- 关注
原创 character not supported here
line 3:1 character ‘’ not supported here在hive里遇到 character ’ ’ not supported here可以将sql放到notepad里,然后在“视图”–>“显示符号”–>“显示空格与制表符”可以看到有些被红色的圆点替代的是空格,但有些没有被红色替代如下图:...
2020-06-27 17:31:14 2557
原创 Ambiguous column reference id in t
FAILED: SemanticException [Error 10007]: Ambiguous column reference id in t
2020-06-27 08:42:51 5607
原创 hive的外部表和内部表,以及其文件目录关系
hive的外部表和内部表,以及其文件目录关系共同点:建表时若指定location位置,则导入的文件(该文件在hdfs上)都会剪切到location相应的位 置,如果该文件是linux上的,只是复制一份放在location位置。建表时未指定位置,则放入默认的warehouse里当前建表的数据库文件下 : /user/hive/warehouse/ad_hive.db(ad_hive.db为当前建表时的数据库)不同点:内部表drop时会删除表名文件及该目录下的数据子文件外部表drop时不会
2020-06-19 14:59:55 1281
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人