Dangling ANDs after removing Condition #894
-
Hello. I'm doing a transform like this:
But later when converting to sql text, I get syntax error because the text contains "AND AND". |
Beta Was this translation helpful? Give feedback.
Answered by
tobymao
Jan 6, 2023
Replies: 1 comment 2 replies
-
it’s not safe to remove a condition. you’d have to replace it with a new one. a safer way is to replace it with exp.true() instead so that there are no hanging ands. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
tobymao
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it’s not safe to remove a condition. you’d have to replace it with a new one. a safer way is to replace it with exp.true() instead so that there are no hanging ands.