Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Metadata.beginQuery #19291

Merged
merged 3 commits into from
Oct 6, 2023
Merged

Add Metadata.beginQuery #19291

merged 3 commits into from
Oct 6, 2023

Conversation

dain
Copy link
Member

@dain dain commented Oct 6, 2023

Description

Add a beginQuery call that will be used for inline SQL language function registration. This call will only happen as part of transaction setup, so tests are updated to properly manage sessions.

This has been tested in #19290 using a modified MetadataManager that enforces registration. The enforcement is not part of this PR and is part of the sql language funcitons.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

dain added 3 commits October 5, 2023 21:29
Require session to be already in a transaction
Remove unused parameters from createPlan
Remove most overloads in LocalQueryRunner
@dain dain requested a review from electrum October 6, 2023 04:33
@cla-bot cla-bot bot added the cla-signed label Oct 6, 2023
@github-actions github-actions bot added tests:hive iceberg Iceberg connector hive Hive connector labels Oct 6, 2023
@dain dain merged commit ed9bdc6 into trinodb:master Oct 6, 2023
@dain dain deleted the begin-query branch October 6, 2023 06:15
@github-actions github-actions bot added this to the 429 milestone Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed hive Hive connector iceberg Iceberg connector
Development

Successfully merging this pull request may close these issues.

2 participants