Skip to content

Merge getTable and Lookup function in information schema#9640

Merged
NamanMahor merged 4 commits into
mainfrom
merge_gettable_and_lookup_of_information_schema
Jul 3, 2026
Merged

Merge getTable and Lookup function in information schema#9640
NamanMahor merged 4 commits into
mainfrom
merge_gettable_and_lookup_of_information_schema

Conversation

@NamanMahor

@NamanMahor NamanMahor commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Merge GetTable and Lookup function in information schema

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@NamanMahor NamanMahor requested a review from k-anshul July 2, 2026 07:33
@rilldata rilldata deleted a comment from chatgpt-codex-connector Bot Jul 2, 2026
@NamanMahor

Copy link
Copy Markdown
Contributor Author

@codex : review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1939316bd7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread runtime/server/connector_service.go Outdated
} else {
return nil, err
}
} else if pbType.Code == runtimev1.Type_CODE_UNSPECIFIED {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code handling is gone now. If it returns errUnsupportedType it will simply fail the Lookup call.
Need to check other drivers as well.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you handled it in GetTable. Does it required handling in OLAPGetTable as well ?
Are there any other internal callers that will fail because of this ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all other Lookup caller are same as before there is no change in lookup method or it's caller. only get table is new caller of it. Also i m going to remove OLAPGetTable in upcoming pr.

@NamanMahor NamanMahor requested a review from k-anshul July 3, 2026 09:50
@NamanMahor NamanMahor merged commit 4999726 into main Jul 3, 2026
19 checks passed
@NamanMahor NamanMahor deleted the merge_gettable_and_lookup_of_information_schema branch July 3, 2026 11:16
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