-
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
KSQL should support object names with the - character (hyphen, dash) #1466
Comments
Similar issue if trying to register a stream over an existing topic:
In this instance, the workaround is simply to create the stream with a non-hyphen name, e.g. :
|
+1 to this again, hit it today. At very least we should be catching the exception and being more friendly and tell the user not to use hyphens in the object name. |
It's not only the stream/table object, but also the column (in the json) as well right? This is difficult for me because although I have control over my ksql table/stream names i have a client controlling the JSON that's actually populating it... and yup they have I'm even getting a more ambiguous error such as "name is null". |
It seems the KSQL grammar is hardcoded to follow the Avro spec. |
I'm also running into this issue with topic names with |
Thanks for the feedback folks. I think this is an important issue to fix. We have audited the code base for multiple ways in which KSQL restricts the identifiers you can use (column names, topic names, etc), and how casing affects those. There is a long list of things to become consistent on. In that list, I think the category where input data cannot be used (becasue of the topic name or because of the columns in the input schema) are at the top of the list. We hope to have some solutions around this by the March release. |
related #1888 |
Using ksql server 5.2.1 and running into this. Are there plans to bring this to a 2019 release? |
I have same issue with usage of hyphen , is there any update on the fix? |
Hello everyone who has given a +1 on this (cc @Incara @mahipalrampally @fmjrey). There are two types of issues:
The fix for the first is on master and will be available in the next KSQL release.
EDIT: the fix for the second is on the way! |
The fix is checked in to master! To use something with a hyphen you will need to use quotes around the object name. |
Hi. Is there any solution about Describe command ? [Request]
[Response]
|
-
is rejected but_
is valid. At minimum, we should catch and report this limitation better to the user, as the current message is very unclear:Doesn't work:
Works:
The text was updated successfully, but these errors were encountered: