-
Notifications
You must be signed in to change notification settings - Fork 1k
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
fix: quoted identifiers for source names #3695
Conversation
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.
Thanks @agavra -- awesome change! LGTM.
} | ||
|
||
@Test | ||
public void shouldAllowEscapedTerminateQuery() { |
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.
Should we also add a test for INSERT INTO
with a quoted source name, either here or as a QTT?
great to see these patches.. they are fixing long standing issues with KSQL which have proven super frustrating! My knowledge of this code base is dated, but I'm trying to understand how these changes fix the issues where quoted source names are not handled correctly. Is it primarily the switch to use |
@apurvam We've just made changes across the board to make sure that the proper names are being piped through the codebase. This specific PR:
The main changes (i.e. around java code generation) were done previously. The |
Got it, thanks @agavra ! |
Is there any solution about Describe command ? [Request]
[Response]
|
Hi @pkgonan have you tried using backticks, rather than single quotes? As in:
instead of |
I tried repro'ing locally and I noticed a few things:
|
Fixes #1466
Fixes #2171
Fixes #2176
Description
Fixes two of the long-running issues around quoted identifiers and source names:
AstBuilder
andDataSourceExtractor
no longer force upper case even when the source name is quotedParserUtil
enforces that source names match state store requirements (topic naming convention)sourceName
is used directly in our grammar to give strong typing in the codeTesting done
Reviewer checklist