-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-11694][SQL] Parquet logical types are not being tested properly #9660
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cc @liancheng |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the +?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. I should get rid of this. I ran this test several times and added a PR. This is weird. Sorry.
|
Test build #45729 has finished for PR 9660 at commit
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add all Parquet logical types that Spark supports here for completeness? For example:
fixed_len_byte_array f0(DECIMAL(d, s))
binary f1(UTF8);
|
Test build #45733 has finished for PR 9660 at commit
|
|
Test build #45791 has finished for PR 9660 at commit
|
|
Test build #45798 has finished for PR 9660 at commit
|
|
hm. I'm not using BTW I will correct the other tests to use the overloaded function in other PRs in a followup PR for this issue. |
|
retest this please |
|
Test build #45807 has finished for PR 9660 at commit
|
|
I added an import This is weird, I am suing scala 2.10 and it compiles okay in my local computer. |
|
Test build #45812 has finished for PR 9660 at commit
|
|
Also added an import |
|
Test build #45817 has finished for PR 9660 at commit
|
|
Also added an import Does this also compile the old version of all commits in this PR? |
|
Test build #45830 has finished for PR 9660 at commit
|
|
restart this please |
|
@HyukjinKwon The spell is "retest this please" :) |
|
retest this please |
|
Test build #45856 has finished for PR 9660 at commit
|
|
Finally I got all-pass! Pleace review the codes! |
|
Thanks! Merging to master and branch-1.6. |
All the physical types are properly tested at `ParquetIOSuite` but logical type mapping is not being tested. Author: hyukjinkwon <gurwls223@gmail.com> Author: Hyukjin Kwon <gurwls223@gmail.com> Closes #9660 from HyukjinKwon/SPARK-11694. (cherry picked from commit 139c15b) Signed-off-by: Cheng Lian <lian@databricks.com>
…metadata and add a test for FIXED_LEN_BYTE_ARRAY As discussed #9660 #9060, I cleaned up unused imports, added a test for fixed-length byte array and used a common function for writing metadata for Parquet. For the test for fixed-length byte array, I have tested and checked the encoding types with [parquet-tools](https://github.com/Parquet/parquet-mr/tree/master/parquet-tools). Author: hyukjinkwon <gurwls223@gmail.com> Closes #9754 from HyukjinKwon/SPARK-11694-followup.
…metadata and add a test for FIXED_LEN_BYTE_ARRAY As discussed apache/spark#9660 apache/spark#9060, I cleaned up unused imports, added a test for fixed-length byte array and used a common function for writing metadata for Parquet. For the test for fixed-length byte array, I have tested and checked the encoding types with [parquet-tools](https://github.com/Parquet/parquet-mr/tree/master/parquet-tools). Author: hyukjinkwon <gurwls223@gmail.com> Closes #9754 from HyukjinKwon/SPARK-11694-followup.
All the physical types are properly tested at
ParquetIOSuitebut logical type mapping is not being tested.