Closed leonschenk closed 1 year ago
that is a good report! the WITH
clause (also known as Common Table Expressions (CTEs)) is part of the SQL standard SQL:1999. according to the list of SQL reserved words all modern databases support it (as they should). it is therefore not PostgreSQL specific.
I think it's fair to say that fix would be welcome:
do you need it backported to 3.x, or is it okay to include into 4.x @leonschenk?
@bbortt thank you! I will be fine with the workaround for now.
Citrus Version 3.4.0
Expected behavior The statement/query, starting with the keyword 'WITH' instead of 'SELECT' will be executed.
Actual behavior Exception is thrown while validating the statement, before executing.
Test case sample
Workaround: