Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/hadoop/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
将配置单元阵列导出到Postgresql_Postgresql_Hadoop_Hive - Fatal编程技术网

将配置单元阵列导出到Postgresql

将配置单元阵列导出到Postgresql,postgresql,hadoop,hive,Postgresql,Hadoop,Hive,我一直在使用Sqoop在配置单元表和Postgresql之间移动数据。但显然,Sqoop不支持Postgresql数组类型 在将数据从Postgresql导入Hive时,我找到了一个解决方法;我在Sqoop--query参数中使用array\u to_string()将我的数组转换为字符串,然后使用 colelction.delim $ field.delim , 但我想不出一个方法来“扭转”这个过

我一直在使用Sqoop在配置单元表和Postgresql之间移动数据。但显然,Sqoop不支持Postgresql数组类型

在将数据从Postgresql导入Hive时,我找到了一个解决方法;我在Sqoop
--query
参数中使用
array\u to_string()
将我的数组转换为字符串,然后使用

    colelction.delim        $                   
    field.delim             ,  
但我想不出一个方法来“扭转”这个过程。有什么巧妙的解决办法吗