You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by da...@apache.org on 2023/07/18 02:47:22 UTC
[hudi] branch master updated: [HUDI-6545] Fix presto read parquet format log file issue (#9219)
This is an automated email from the ASF dual-hosted git repository.
danny0405 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new eeb68742966 [HUDI-6545] Fix presto read parquet format log file issue (#9219)
eeb68742966 is described below
commit eeb68742966fea42eb2a51c1d52827a0e114dc1a
Author: Bingeng Huang <30...@qq.com>
AuthorDate: Tue Jul 18 10:47:14 2023 +0800
[HUDI-6545] Fix presto read parquet format log file issue (#9219)
Co-authored-by: hbg <bi...@shopee.com>
---
.../org/apache/hudi/common/table/log/block/HoodieHFileDataBlock.java | 2 +-
.../org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieHFileDataBlock.java b/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieHFileDataBlock.java
index d4cf64de701..96436811429 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieHFileDataBlock.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieHFileDataBlock.java
@@ -189,7 +189,7 @@ public class HoodieHFileDataBlock extends HoodieDataBlock {
Path inlinePath = InLineFSUtils.getInlineFilePath(
blockContentLoc.getLogFile().getPath(),
- blockContentLoc.getLogFile().getPath().getFileSystem(inlineConf).getScheme(),
+ blockContentLoc.getLogFile().getPath().toUri().getScheme(),
blockContentLoc.getContentPositionInLogFile(),
blockContentLoc.getBlockSize());
diff --git a/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java b/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java
index 54c2d9e9d8a..e8c3470e052 100644
--- a/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java
+++ b/hudi-common/src/main/java/org/apache/hudi/common/table/log/block/HoodieParquetDataBlock.java
@@ -151,7 +151,7 @@ public class HoodieParquetDataBlock extends HoodieDataBlock {
Path inlineLogFilePath = InLineFSUtils.getInlineFilePath(
blockContentLoc.getLogFile().getPath(),
- blockContentLoc.getLogFile().getPath().getFileSystem(inlineConf).getScheme(),
+ blockContentLoc.getLogFile().getPath().toUri().getScheme(),
blockContentLoc.getContentPositionInLogFile(),
blockContentLoc.getBlockSize());