Conversation
nezihyigitbasi
left a comment
There was a problem hiding this comment.
@zhenxiao thanks for cleaning this up. There are at least two changes in this single huge commit:
- remove the old Parquet reader
- cleanup/refactor
It would be great if you can split this commit up to reflect that (hope that would be easy).
There was a problem hiding this comment.
Any reason why you moved these methods from the PredicateUtils class to here?
There was a problem hiding this comment.
it is mostly just called here. Try to not have cross module dependency
There was a problem hiding this comment.
This module already depends on presto-parquet, also this class already imports PredicateUtils methods. I think we can keep these methods in their original class, the PredicateUtils.
There was a problem hiding this comment.
oh, just found, HiveColumnHandle could not include in presto-parquet module, so I leave it here.
There was a problem hiding this comment.
What's the reason for removing these tests?
There was a problem hiding this comment.
these tests are for old Parquet reader only
There was a problem hiding this comment.
Is this copied from the hive module? If so, please add a comment that this is copied.
zhenxiao
left a comment
There was a problem hiding this comment.
thank you, @nezihyigitbasi I will take a try
There was a problem hiding this comment.
these tests are for old Parquet reader only
There was a problem hiding this comment.
it is mostly just called here. Try to not have cross module dependency
|
@nezihyigitbasi separate into 2 commits: one for remove old parquet reader, one for new Parquet reader code refactor |
nezihyigitbasi
left a comment
There was a problem hiding this comment.
Remove old Parquet Reader LGTM. Please update the commit title as Remove the old Parquet reader
|
thank you @nezihyigitbasi |
|
kindly ping @nezihyigitbasi |
|
@zhenxiao can you please rebase? I plan to continue reviewing this one in the next few days. |
|
get it rebased. @nezihyigitbasi |
nezihyigitbasi
left a comment
There was a problem hiding this comment.
Remove the old Parquet Reader looks good.
- Please update the commit message as
... reader.
nezihyigitbasi
left a comment
There was a problem hiding this comment.
Refactor Parquet code
-
We can update the commit title as
Refactor the Parquet reader, and we can put more details in the commit message body, e.g., we can say This change creates the presto-parquet module and updates presto-hive to use it. -
Now that we have removed the old reader, we can remove the
parquet_optimized_reader_enabled/hive.parquet-optimized-reader.enabledproperty.
There was a problem hiding this comment.
This module already depends on presto-parquet, also this class already imports PredicateUtils methods. I think we can keep these methods in their original class, the PredicateUtils.
presto-parquet/pom.xml
Outdated
There was a problem hiding this comment.
In the top level project pom we use 1.1.1.7 version, why do we override that here?
|
thank you, @nezihyigitbasi |
a603af9 to
fd2e9cd
Compare
|
kindly ping |
|
LGTM. But, before we can merge this I want to resolve all the open issues with the new Parquet reader as once we remove the old reader users won't have a fallback option: |
|
get it. Just added one more commit to remove predicate pushdown property. It is default as true for some releases. |
|
kindly ping |
ff4e63d to
8c129ce
Compare
|
kindly ping |
8c129ce to
46fdae0
Compare
|
@nezihyigitbasi kindly ping :) |
|
@nezihyigitbasi is out for an extended period of time. |
46fdae0 to
ae24937
Compare
pom.xml
Outdated
There was a problem hiding this comment.
Can you retitle this commit "Move Parquet reader to new presto-parquet module"?
There was a problem hiding this comment.
The javadocs here have two spaces where Parquet was removed.
ae24937 to
f62eafb
Compare
f62eafb to
9dd7f20
Compare
|
kindly ping @nezihyigitbasi @dain |
|
kindly ping @nezihyigitbasi @dain |
|
It looks good to me. @nezihyigitbasi do you have any additional concerns? |
|
Merged, thanks @zhenxiao. |
@dain @electrum @nezihyigitbasi now New Parquet Reader is production ready
this patch is to remove the old Parquet reader, and a cleanup of Parquet code