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

CSAS errors if - used in object name #1286

Closed
rmoff opened this issue May 9, 2018 · 1 comment
Closed

CSAS errors if - used in object name #1286

rmoff opened this issue May 9, 2018 · 1 comment

Comments

@rmoff
Copy link
Contributor

rmoff commented May 9, 2018

Error should be better here. Either KSQL is parsing the input wrong (and should accept the -) or if - is not a valid character to use in the object name then it should tell the user so.

ksql> CREATE STREAM mysql-customers AS SELECT * FROM CUSTOMERS_SRC PARTITION BY ID;
line 1:20: mismatched input '-' expecting ';'
Caused by: line 1:20: mismatched input '-' expecting ';'
Caused by: null
ksql> CREATE STREAM mysql_customers AS SELECT * FROM CUSTOMERS_SRC PARTITION BY ID;

 Message
----------------------------
 Stream created and running
----------------------------
@rmoff
Copy link
Contributor Author

rmoff commented Jun 21, 2018

Following in #1466

@rmoff rmoff closed this as completed Jun 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant