feat: Add trail mode config for Comet evaluation without native execution - #5345
feat: Add trail mode config for Comet evaluation without native execution#5345coderfender wants to merge 1 commit into
Conversation
|
I will post screenshots of the plan shortly |
|
Heads up, I used an LLM to help pull this review together. All the concerns below are ones I want to see addressed, but the reading of the code is machine-assisted, so push back if any of it looks off.
edit: this previous paragraph is nonsense, mostly On the revert itself, I don't think the Related, AQE behavior isn't addressed and it was one of the open questions in #5335. The rule runs once as a On the config, every other config in Docs: On the test: good that it asserts both directions. A few things I'd like to see added: a DSv2 case so the Last thing: the description says "trail mode" throughout, the config in the body doesn't match |
|
I created an alternative PR #5394 - could you take a look @coderfender? |
Which issue does this PR close?
Closes #5335
Rationale for this change
One of the feedbacks / growing patterns we observe in the industry is to evaluate comet to see how many operators are supported without actually executing anything in the native side. This should help the data engineering teams to better evaluate thair plans and potentially make changes to make use of full native execution.
spark.comet.trial.enabled"unlocks that config. All the plans are annotatedComet[Trail]to let users know (through the driver logs) that comet is only printing the plan while the execution is still nativeWhat changes are included in this PR?
How are these changes tested?
Unit tests to grep the plans and make sure no operators are native when the trail mode is enabled