Skip to content

[DATAFLINT-4798] problem with codegen support on spark<3.2#66

Merged
minskya merged 3 commits into
mainfrom
DATAFLINT-4798
Apr 23, 2026
Merged

[DATAFLINT-4798] problem with codegen support on spark<3.2#66
minskya merged 3 commits into
mainfrom
DATAFLINT-4798

Conversation

@minskya
Copy link
Copy Markdown
Contributor

@minskya minskya commented Apr 23, 2026

split TimedExec to 2 classes whether they have CodeGen or not. seems like there is a bug in spark<3.2 where even if supportCodegen method returns false then just since class inherits from codegen then it causes spark to be confused. so now only if original exec exterds Codegen it will get TimedWithCodegenExec

minskya and others added 3 commits April 23, 2026 19:46
- Use non-paginated /sql endpoint for Spark < 3.2 apps where the
  paginated API returns 404
- Handle per-execution planGraph failures in DataflintSQLPlanPage
  instead of failing the entire batch (fixes NoSuchElementException
  for apps missing plan data in KVStore)
- Fix catch block return type from JObject to JArray in both
  Spark 3 and Spark 4 SQLPlanPage
- Guard against non-array sqlplan response in frontend

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…like there is a bug in spark<3.2 where even if supportCodegen method returns false then just since class inherits from codegen then it causes spark to be confused. so now only if original exec exterds Codegen it will get TimedWithCodegenExec
@notion-workspace
Copy link
Copy Markdown

@minskya minskya merged commit 0f370d7 into main Apr 23, 2026
6 checks passed
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.

1 participant