zabetak opened a new pull request, #6312:
URL: https://github.com/apache/hive/pull/6312

   ### 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
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to