Skip to content

Conversation

@andygrove
Copy link
Member

@andygrove andygrove commented Jan 7, 2025

Which issue does this PR close?

N/A

Rationale for this change

Stability tests were failing becaue the POC native scan code does not support DPP.

What changes are included in this PR?

  • Disable DPP when POC is enabled
  • Update CometNativeScanExec nodeName to include table name
  • Introduce constants for native scan modes

How are these changes tested?

@@ -263,11 +263,13 @@ trait CometPlanStabilitySuite extends DisableAdaptiveExecutionSuite with TPCDSBa
classLoader = Thread.currentThread().getContextClassLoader)
// Disable char/varchar read-side handling for better performance.
withSQLConf(
// Comet does not yet support DPP yet
// https://github.com/apache/datafusion-comet/issues/121
SQLConf.DYNAMIC_PARTITION_PRUNING_ENABLED.key -> "false",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do this only if the parquet implementation is native_full or native_recordbatch ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

Copy link
Contributor

@parthchandra parthchandra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. minor comment

@andygrove andygrove changed the title [comet-parquet-exec] Disable DPP in stability tests [comet-parquet-exec] Disable DPP in stability tests when full native scan is enabled Jan 7, 2025
@andygrove andygrove merged commit 78e2820 into apache:comet-parquet-exec Jan 7, 2025
5 of 73 checks passed
@andygrove andygrove deleted the fix-stability-tests branch January 7, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants