-
Notifications
You must be signed in to change notification settings - Fork 68
Calcite schema ddl #957
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
base: main
Are you sure you want to change the base?
Calcite schema ddl #957
Conversation
// Initialize the type factory | ||
Properties props = new Properties(); | ||
props.setProperty(CalciteConnectionProperty.CASE_SENSITIVE.camelName(), "false"); | ||
CalciteConnectionConfig config = new CalciteConnectionConfigImpl(props); |
Check notice
Code scanning / CodeQL
Unread local variable Note test
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 4 days ago
To fix the issue, the unused variable config
should be removed. The assignment of props
to config
on line 78 can be safely deleted, as props
is directly used in the subsequent code. This will eliminate the "unread local variable" error without altering the functionality of the code.
@@ -77,3 +77,2 @@ | ||
props.setProperty(CalciteConnectionProperty.CASE_SENSITIVE.camelName(), "false"); | ||
CalciteConnectionConfig config = new CalciteConnectionConfigImpl(props); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
This reverts commit 16f9c82.
14e651e
to
dc8a684
Compare
dc8a684
to
eec70db
Compare
|
No description provided.