首页 > 解决方案 > 将数据从配置单元视图移动到配置单元外部表时,以 '\n' 终止的行不起作用

问题描述

我已经在下面的 hive 中创建了外部表

create external table tablename (column details)
row format delimited
fields terminated by ','
lines terminated by '\n'
location 'location in which the data gets stored'

但是,在创建和加载该外部表之后。我看到文件夹中的基础数据文件在一行中包含数据。即换行设置不起作用。

我正在通过 Azure hd Insight 集群运行 hiveql

标签: hivehiveqlazure-hdinsight

解决方案


推荐阅读