test(sqllogictest): stabilize parquet output_rows_skew with WITH ORDER#21898
Conversation
CREATE EXTERNAL TABLE skew_parquet now uses WITH ORDER (x) so FileScanConfig preserves scan ordering and per-partition row counts stay deterministic with dynamic file scheduling. Refs discussion after PR apache#21351 / apache#21866. Made-with: Cursor
|
Those tests are already stable, and I think the We have to fix the skipped one. The comments explains the root cause, though I'm not sure about the solution yet. |
|
Yes, I think I worded myself incorrectly. I wanted to improved the coverage as mentioned in the comment by @alamb. |
2010YOUY01
left a comment
There was a problem hiding this comment.
Oh I see, this makes sense. Thank you.
It's not obvious why this fix works, let's add more comments.
Co-authored-by: Yongting You <2010youy01@gmail.com>
|
@2010YOUY01 made the comment changes |
|
CI failure is a new check added in Working on resolving it |
|
aligned with main since the fix for the detect breaking changes is now resolved, sorry for the trouble |
|
Thanks @rluvaton |
|
Thanks @RatulDawar and @2010YOUY01 |
Summary
Adds
WITH ORDER (x)toCREATE EXTERNAL TABLE skew_parquet/skew_parquet_singleinexplain_analyze.sltsoFileScanConfigpreserves scan ordering (preserve_order), keeping per-partitionoutput_rowsstable under dynamic file scheduling (PR #21351).Related
explain_analyze.slt#21866 / Test flake inexplain_analyze.slt#21850.Testing
cargo test -p datafusion-sqllogictest --test sqllogictests -- explain_analyze(recommended before merge)Sqllogictest-only change.
Made with Cursor