You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ksql> select * from fakedata22 where deviceproperties['foo']='bar';
Failed to generate code for SqlPredicate.filterExpression: (FAKEDATA22.DEVICEPROPERTIES['foo'] = 'bar')schema:org.apache.kafka.connect.data.SchemaBuilder@6636ccb2isWindowedKey:false
Caused by: Line 1, Column 168: Operator "<=" not allowed on reference operands
The text was updated successfully, but these errors were encountered:
CREATE STREAM fakeData225 (Id VARCHAR, category VARCHAR, timeStamp VARCHAR, deviceID INTEGER, deviceProperties ARRAY<VARCHAR>) WITH (KAFKA_TOPIC='test_map2', VALUE_FORMAT='JSON');
ksql> select deviceproperties[0] from fakeData225;
{"status":"false","foo":"bar"}
^CQuery terminated
ksql>
ksql> select deviceproperties from fakeData225 where deviceProperties[0]='foo';
Failed to generate code for SqlPredicate.filterExpression: (FAKEDATA225.DEVICEPROPERTIES[0] = 'foo')schema:org.apache.kafka.connect.data.SchemaBuilder@13f34c71isWindowedKey:false
Caused by: Line 1, Column 188: Operator "<=" not allowed on reference operands
ksql>
Reproduced in
KSQL 5.0.0-SNAPSHOT
andKSQL 4.1.1
KSQL throws an error if a predicate is attempted on a MAP.
Source data:
Define stream:
Standard predicate:
MAP predicate:
The text was updated successfully, but these errors were encountered: