答案 0 :(得分:1)
如您所述,Vertica不支持ORC / Parquet文件的COPY LOCAL。您可以将文件复制到Vertica服务器或共享目录(例如HDFS或AWS S3),然后直接使用COPY FROM。例如:
-- copy from Vertica server:
copy t1 from '/path/to/orc/files/*' orc;
-- copy from HDFS:
copy t1 from 'hdfs:///path/to/orc/files/*' orc;
-- copy from AWS S3:
copy t1 from 's3://s3_bucket/path/to/orc/files/*' orc;