You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2025/12/01 08:33:18 UTC
(doris) branch branch-3.1 updated: branch-3.1: [fix](copy into) fix copy into load orc/parquet format fail #57362 (#58551)
This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new bdf570ecfaa branch-3.1: [fix](copy into) fix copy into load orc/parquet format fail #57362 (#58551)
bdf570ecfaa is described below
commit bdf570ecfaa69f373f316ac3a6ade0a2eb8f7ba0
Author: hui lai <la...@selectdb.com>
AuthorDate: Mon Dec 1 16:33:10 2025 +0800
branch-3.1: [fix](copy into) fix copy into load orc/parquet format fail #57362 (#58551)
picked from #57362
---
fe/fe-core/src/main/java/org/apache/doris/analysis/CopyStmt.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/analysis/CopyStmt.java b/fe/fe-core/src/main/java/org/apache/doris/analysis/CopyStmt.java
index e4ab52f1ac2..a42f2c93ce8 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/analysis/CopyStmt.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/analysis/CopyStmt.java
@@ -149,7 +149,10 @@ public class CopyStmt extends DdlStmt implements NotFallbackInParser {
getOrigStmt() != null ? getOrigStmt().originStmt : "", copyFromParam.getFileColumns(),
copyFromParam.getColumnMappingList(), copyFromParam.getFileFilterExpr());
}
- dataDescProperties.put(FileFormatProperties.PROP_COMPRESS_TYPE, copyIntoProperties.getCompression());
+ String compression = copyIntoProperties.getCompression();
+ if (compression != null) {
+ dataDescProperties.put(FileFormatProperties.PROP_COMPRESS_TYPE, compression);
+ }
dataDescription = new DataDescription(tableName.getTbl(), null, Lists.newArrayList(filePath),
copyFromParam.getFileColumns(), separator, fileFormatStr, null, false,
copyFromParam.getColumnMappingList(), copyFromParam.getFileFilterExpr(), null, MergeType.APPEND, null,
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org