Uh oh!
There was an error while loading. Please reload this page.
[SPARK-20682][SQL] Update ORC data source based on Apache ORC library - #18953
[SPARK-20682][SQL] Update ORC data source based on Apache ORC library#18953dongjoon-hyun wants to merge 2 commits into
Conversation
SparkQA
commented
Aug 16, 2017
Test build #80707 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 16, 2017
Rebased to the master since #18640 is merged. |
There was a problem hiding this comment.
This will be reverted after review.
There was a problem hiding this comment.
This change of name will be reverted after review.
There was a problem hiding this comment.
This only happens on old Hive.
SparkQA
commented
Aug 16, 2017
Test build #80710 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 16, 2017
Hi, @cloud-fan , @gatorsmile , @rxin , @sameeragarwal , and @viirya . |
SparkQA
commented
Aug 16, 2017
Test build #80721 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 16, 2017
Retest this please. |
cloud-fan
commented
Aug 16, 2017
what's the project plan for this ORC stuff? shall we move the old orc data source to sql/core with orc 1.4 first, and then send a new PR for vectorized reader? |
Hi, @cloud-fan . In Apache Spark 2.3, I thought we need to keep both by option Do you mean In this PR, I replaces |
This PR is about 1,100 lines and #17980 is about 3,833 lines (including Vectorized part, too). |
For the reader, there are three part.
Like (1), I can exclude (2) in this PR to minimize again. Is it okay? |
SparkQA
commented
Aug 16, 2017
Test build #80722 has finished for PR 18953 at commit
|
cloud-fan
commented
Aug 16, 2017
Are the ORC APIs changed a lot in 1.4? I was expecting a small patch to upgrade the current ORC data source, without moving it to sql/core. |
The goal is using ORC without Previously, |
dongjoon-hyun
commented
Aug 16, 2017
In case of You can see more diff by |
dongjoon-hyun
commented
Aug 16, 2017
@cloud-fan . I'll rethink about consolidation the old and the new. Thank you for the advice! |
dongjoon-hyun
commented
Aug 16, 2017
So far, the current ORC related code looks too old and tightly integrated with |
dongjoon-hyun
commented
Aug 17, 2017
Hi, @cloud-fan . As you adviced, I will replace old ORC in the current namespace and will try to move to |
dongjoon-hyun
commented
Aug 17, 2017
@cloud-fan . The PR is updated. Now, it's minimized as +493 and −247 lines. |
SparkQA
commented
Aug 17, 2017
Test build #80771 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 17, 2017
Retest this please |
SparkQA
commented
Aug 17, 2017
Test build #80777 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 17, 2017
Hi, @cloud-fan , @gatorsmile , @sameeragarwal , @rxin , @viirya . |
SparkQA
commented
Aug 18, 2017
Test build #80827 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 18, 2017
Retest this please. |
SparkQA
commented
Aug 18, 2017
Test build #80832 has finished for PR 18953 at commit
|
SparkQA
commented
Aug 18, 2017
Test build #80840 has finished for PR 18953 at commit
|
There was a problem hiding this comment.
This is a known improvement.
There was a problem hiding this comment.
we'd better return a function to avoid per-row pattern matche. cc @HyukjinKwon who fixed similar problems many times.
SparkQA
commented
Aug 22, 2017
Test build #80980 has finished for PR 18953 at commit
|
SparkQA
commented
Aug 23, 2017
Test build #81012 has finished for PR 18953 at commit
|
SparkQA
commented
Aug 23, 2017
Test build #81013 has finished for PR 18953 at commit
|
There was a problem hiding this comment.
Hi, @cloud-fan .
I updated the PR to return functions. Could you review again?
dongjoon-hyun
commented
Aug 25, 2017
Hi, @cloud-fan . |
SparkQA
commented
Aug 25, 2017
Test build #81142 has finished for PR 18953 at commit
|
SparkQA
commented
Aug 26, 2017
Test build #81148 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 26, 2017
Now, it becomes |
dongjoon-hyun
commented
Aug 26, 2017
Hi, @cloud-fan and @gatorsmile . |
dongjoon-hyun
commented
Aug 28, 2017
Hi, @cloud-fan . |
dongjoon-hyun
commented
Aug 30, 2017
Hi, @cloud-fan and @gatorsmile . |
dongjoon-hyun
commented
Aug 30, 2017
Retest this please. |
SparkQA
commented
Aug 31, 2017
Test build #81268 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Aug 31, 2017
Hi, @marmbrus , @liancheng , @yhuai . |
dongjoon-hyun
commented
Sep 1, 2017
Retest this please. |
SparkQA
commented
Sep 1, 2017
Test build #81326 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Sep 3, 2017
Hi, All. |
SparkQA
commented
Sep 7, 2017
Test build #81513 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Sep 8, 2017
Retest this please. |
SparkQA
commented
Sep 9, 2017
Test build #81569 has finished for PR 18953 at commit
|
SparkQA
commented
Sep 10, 2017
Test build #81597 has finished for PR 18953 at commit
|
dongjoon-hyun
commented
Dec 3, 2017
This is resolved via #19651 . |
What changes were proposed in this pull request?
Since SPARK-21422, Apache Spark starts to depend on Apache ORC 1.4.0. This PR updates the existing Hive 1.2-based ORC data source by removing Hive dependency and using a new Apache ORC 1.4.0 library only.
The newly updated ORC format in this PR will enable the followings easily. Also, we can expect more later.
(We will be able to move new ORC data soruce into
sql/coreeasily at the next step.)How was this patch tested?
Pass the Jenkins with the updated test suites.