1

我正在尝试使用 Datastage 将 S3 中以 .gz 格式存储的数据加载到 PostgreSQL 服务器。我在目标(数据库)端使用 ODBC 连接器。我能够将未压缩的数据从 S3 加载到 PostgreSQL,但到目前为止压缩数据没有运气。我已经尝试过,Expand Stage但它没有帮助,或者我没有做正确的事情。如果没有“扩展”,数据即将到来,但它正在尝试读取压缩数据,但这样做会失败并引发错误:

Amazon_S3_0,1: com.ascential.e2.common.CC_Exception: Failed to initialize the parser: The row delimiter was not found within the first 132 bytes of the file. Ensure that the Row delimiter property matches the row delimiter of the file.
at com.ibm.iis.cc.cloud.CloudLogger.createCCException (CloudLogger.java: 196)
at com.ibm.iis.cc.cloud.CloudStage.processReadAndParse (CloudStage.java: 1591)
at com.ibm.iis.cc.cloud.CloudStage.process (CloudStage.java: 680)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.run (CC_JavaAdapter.java: 443)


Amazon_S3_0,1: Failed to initialize the parser: The row delimiter was not found within the first 132 bytes of the file. Ensure that the Row delimiter property matches the row delimiter of the file. (com.ibm.iis.cc.cloud.CloudLogger::createCCException, file CloudLogger.java, line 196)

如果有人遇到过这种情况,请分享您的宝贵意见。

4

0 回答 0