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

SOLR-15802: SQLHandler endpoint to return the Solr query for a SQL stmt #453

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

thelabdude
Copy link
Contributor

https://issues.apache.org/jira/browse/SOLR-15802

WIP ~ current PR has code to return the Solr query that would be executed for a SQL (vs. actually executing the query)

@thelabdude thelabdude marked this pull request as draft December 9, 2021 22:33
CalciteConnection calciteConn = (CalciteConnection)openConnection();
CalcitePrepare.Context context = calciteConn.createPrepareContext();
CalcitePrepare.CalciteSignature sig =
(new CalcitePrepareImpl()).prepareSql(context, CalcitePrepare.Query.of(sqlQuery), Object[].class, -1);
Copy link

Choose a reason for hiding this comment

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

UnnecessaryParentheses: Unnecessary use of grouping parentheses (details)
(at-me in a reply with help or ignore)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sonatype-lift ignore

Copy link

Choose a reason for hiding this comment

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

I've recorded this as ignored for this pull request. If you change your mind, just comment @sonatype-lift unignore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant