This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 8cc348aff [hive] JobConf should be passed to create paimon table
(#3418)
8cc348aff is described below
commit 8cc348affe02078bb79f1a74d2352306c8820ffd
Author: yuzelin <[email protected]>
AuthorDate: Wed May 29 10:29:37 2024 +0800
[hive] JobConf should be passed to create paimon table (#3418)
---
.../src/main/java/org/apache/paimon/hive/utils/HiveUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/paimon-hive/paimon-hive-connector-common/src/main/java/org/apache/paimon/hive/utils/HiveUtils.java
b/paimon-hive/paimon-hive-connector-common/src/main/java/org/apache/paimon/hive/utils/HiveUtils.java
index c6828897d..4ecd32b74 100644
---
a/paimon-hive/paimon-hive-connector-common/src/main/java/org/apache/paimon/hive/utils/HiveUtils.java
+++
b/paimon-hive/paimon-hive-connector-common/src/main/java/org/apache/paimon/hive/utils/HiveUtils.java
@@ -54,7 +54,7 @@ public class HiveUtils {
public static FileStoreTable createFileStoreTable(JobConf jobConf) {
Options options = extractCatalogConfig(jobConf);
options.set(CoreOptions.PATH,
LocationKeyExtractor.getPaimonLocation(jobConf));
- CatalogContext catalogContext = CatalogContext.create(options);
+ CatalogContext catalogContext = CatalogContext.create(options,
jobConf);
return FileStoreTableFactory.create(catalogContext);
}