Skip to content

Commit

Permalink
[hotfix-#565][chunjun-hdfs-connector] hadoop3.x version support orc (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
liumengkai authored Sep 23, 2022
1 parent e7cbdf8 commit 47b2618
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chunjun-connectors/chunjun-connector-hdfs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<name>ChunJun : Connectors : HDFS</name>

<properties>
<hive.version>1.1.1</hive.version>
<hive.version>3.1.1</hive.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ public HdfsOrcInputSplit(OrcSplit orcSplit, int splitNumber) throws IOException
public OrcSplit getOrcSplit() throws IOException {
ByteArrayInputStream bais = new ByteArrayInputStream(orcSplitData);
DataInputStream dis = new DataInputStream(bais);
OrcSplit orcSplit = new OrcSplit(null, 0, 0, null, null, false, false, new ArrayList<>());
OrcSplit orcSplit =
new OrcSplit(
null, null, 0, 0, null, null, false, false, new ArrayList<>(), 0, 0, null);
orcSplit.readFields(dis);
bais.close();
dis.close();
Expand Down

0 comments on commit 47b2618

Please sign in to comment.