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 2023/04/19 13:34:33 UTC

[doris] 07/36: [Fix](catalog)Fix hudi-catalog get file split error (#18644) (#18673)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-2.0-alpha
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 9013b3712c269b42eefa68ebb1cefd559b32dc45
Author: Calvin Kirs <AC...@yeah.net>
AuthorDate: Sun Apr 16 21:56:14 2023 +0800

    [Fix](catalog)Fix hudi-catalog get file split error (#18644) (#18673)
    
    `hudi-common` depends on `parque-avro`, but the dependency scope is `provide`.
    When we use `hudi-catalog`, `HoodieAvroWriteSupport` will be called. This method depends on `parque-avro`, so it will generate ClassNotFound
    Describe your changes.
---
 fe/fe-core/pom.xml | 5 ++++-
 fe/pom.xml         | 5 +++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/fe/fe-core/pom.xml b/fe/fe-core/pom.xml
index 090f2b8a66..3856db03cc 100644
--- a/fe/fe-core/pom.xml
+++ b/fe/fe-core/pom.xml
@@ -701,7 +701,10 @@ under the License.
             <groupId>org.apache.hudi</groupId>
             <artifactId>hudi-hadoop-mr</artifactId>
         </dependency>
-
+        <dependency>
+            <groupId>org.apache.parquet</groupId>
+            <artifactId>parquet-avro</artifactId>
+        </dependency>        
         <dependency> 
             <groupId>org.mariadb.jdbc</groupId>
             <artifactId>mariadb-java-client</artifactId>
diff --git a/fe/pom.xml b/fe/pom.xml
index f776568de8..b53353fd9a 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -837,6 +837,11 @@ under the License.
                 <artifactId>hudi-hadoop-mr</artifactId>
                 <version>${hudi.version}</version>
             </dependency>
+            <dependency>
+                <groupId>org.apache.parquet</groupId>
+                <artifactId>parquet-avro</artifactId>
+                <version>${parquet.version}</version>
+            </dependency>
 
             <dependency>
                 <groupId>org.apache.parquet</groupId>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org