Skip to content

Conversation

@zabetak
Copy link
Member

@zabetak zabetak commented Feb 10, 2026

What changes were proposed in this pull request?

  1. Add HiveRelJsonSchemaReader for creating a RelOptSchema from a JSON query plan
  2. Add HiveRelJsonReader for creating a RelNode from a JSON query plan
  3. Add HiveRexJsonBuilder specialized for transformations from JSON
  4. Add a new constructor accepting RelInput on all RelNode supporting deserialization
  5. Add HiveSqlOperatorTable for looking up Hive operators from Calcite APIs

Why are the changes needed?

Allow conversion of JSON plans obtained using EXPLAIN FORMATTED CBO back to RelNode objects.

Does this PR introduce any user-facing change?

No

How was this patch tested?

mvn test -Dtest=TestHiveRelJsonSchemaReader
mvn test -Dtest=TestHiveRelJsonReader

Co-authored-by: Soumyakanti Das <soumyakanti.das.08@gmail.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants