-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable Parallel Parquet Writer by Default, Improve Writing Test Coverage #8854
Changes from 4 commits
2680916
9cb66f6
b6d501f
7be42cf
09b2071
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -64,6 +64,25 @@ select * from validate_parquet; | |||||
1 Foo | ||||||
2 Bar | ||||||
|
||||||
query ?? | ||||||
COPY | ||||||
(values (struct ('foo', (struct ('foo', make_array(1,2,3)))), make_array(timestamp '2023-01-01 01:00:01',timestamp '2023-01-01 01:00:01')), | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you. I left a comment there Would it be possible to change the constant values of the two rows so it is clear they are different e.g.
Suggested change
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I pushed up a change to make the rows distinct and add an array of struct as #8867 is fixed after pulling main. |
||||||
(struct('bar', (struct ('foo', make_array(1,2,3)))), make_array(timestamp '2023-01-01 01:00:01', timestamp '2023-01-01 01:00:01'))) | ||||||
to 'test_files/scratch/copy/table_nested' (format parquet, single_file_output false); | ||||||
---- | ||||||
2 | ||||||
|
||||||
# validate multiple parquet file output | ||||||
statement ok | ||||||
CREATE EXTERNAL TABLE validate_parquet_nested STORED AS PARQUET LOCATION 'test_files/scratch/copy/table_nested/'; | ||||||
|
||||||
query ?? | ||||||
select * from validate_parquet_nested; | ||||||
---- | ||||||
{c0: foo, c1: {c0: foo, c1: [1, 2, 3]}} [2023-01-01T01:00:01, 2023-01-01T01:00:01] | ||||||
{c0: bar, c1: {c0: foo, c1: [1, 2, 3]}} [2023-01-01T01:00:01, 2023-01-01T01:00:01] | ||||||
|
||||||
|
||||||
# Copy parquet with all supported statment overrides | ||||||
query IT | ||||||
COPY source_table | ||||||
|
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.
As flagged in #8851 and #8853, setting this to true will result in the new copy.slt tests to fail.