Skip to content

HIVE-29654: Provide an easy way to execute a query and get the CBO plan at the same time#6556

Open
thomasrebele wants to merge 1 commit into
apache:masterfrom
thomasrebele:tr/HIVE-29654
Open

HIVE-29654: Provide an easy way to execute a query and get the CBO plan at the same time#6556
thomasrebele wants to merge 1 commit into
apache:masterfrom
thomasrebele:tr/HIVE-29654

Conversation

@thomasrebele

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Include the Calcite plan when enabling hive.log.explain.output, as discussed in HIVE-29654.

Why are the changes needed?

Make it easier to get the exact Calcite plan that has been used for an executed query.

Does this PR introduce any user-facing change?

Just adding the Calcite plan to the logging of hive.log.explain.output.

How was this patch tested?

Unit test and manual execution of a query in beeline.

@sonarqubecloud

Copy link
Copy Markdown

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