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

PARTITION BY clause does not support lowercase field names #3203

Closed
rajbhino opened this issue Aug 13, 2019 · 4 comments
Closed

PARTITION BY clause does not support lowercase field names #3203

rajbhino opened this issue Aug 13, 2019 · 4 comments

Comments

@rajbhino
Copy link

When creating a stream with mixed case fields and using one of them for PARTITION BY clause using double quotes to preserve case-sensitiveness it does not work and throws error. It recognizes only upper case fields,.

CREATE STREAM TEST_TIMESTAMP_X3 AS
select after->location_number AS "locationID", after->sku AS "itemID", after->qty AS "quantity"
from STREAM_tv_test;
CREATE STREAM TEST_TIMESTAMP_X3_PARTITIONED WITH
(KAFKA_TOPIC='TEST_TIMESTAMP_X3',
VALUE_FORMAT='JSON') AS
SELECT * FROM TEST_TIMESTAMP_X3
PARTITION BY "locationID"; --> Column LOCATIONID does not exist in the result schema. Error in Partition By clause.

@apurvam
Copy link
Contributor

apurvam commented Aug 15, 2019

related to #2589

@big-andy-coates
Copy link
Contributor

Hi @rajbhino - quoted identifiers don't yet work correctly in KSQL. Sorry for the confusion. Note: they are actively being worked on, so we should be able to support this very soon.

@pavelpe
Copy link

pavelpe commented Jan 30, 2020

so we should be able to support this very soon.

Hi, any update on this issue?

@agavra
Copy link
Contributor

agavra commented Jan 30, 2020

This should work on master @pavelpe - I believe it also works on ksqlDB 0.6.0 and KSQL 5.4.

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

No branches or pull requests

5 participants