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
I currently using plywood library to mediate query to druid broker.
Yesterday I met expression parse error, so I digged deeper inside plywood and I found below.
and one of the parameters was 'banana",
plywood expression would be $dim.in([''banana"']) or $dim.in(["'banana""]).
Unfortunately, neither of these was accepted.
By parsing rule, single quote string's last character must match. Either 'some' or "some".
For now I avoided this by directly using plywood.LiteralExpression, so no more exceptions thrown.
So, I wonder any plans to support escape rule.
Thanks
Best regard.
The text was updated successfully, but these errors were encountered:
Hi! expert!
I currently using plywood library to mediate query to druid broker.
Yesterday I met expression parse error, so I digged deeper inside plywood and I found below.
In my case construct plywood string expression using query from client like below.
and one of the parameters was
'banana"
,plywood expression would be
$dim.in([''banana"'])
or$dim.in(["'banana""])
.Unfortunately, neither of these was accepted.
By parsing rule, single quote string's last character must match. Either 'some' or "some".
For now I avoided this by directly using
plywood.LiteralExpression
, so no more exceptions thrown.So, I wonder any plans to support escape rule.
Thanks
Best regard.
The text was updated successfully, but these errors were encountered: