Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.18.0
-
None
-
None
Description
There are two columns in my table. Column A's type is VARCHAR while column B's type is VARCHAR ARRAY.
When validating the SQL call `A IN B` the validation failed.
The root cause seems to be in checkTypes functions in SqlInOperator.
- Not sure whether UNORDERED comparator is a good candidate because IN operands should have order.
- During being checked in the checker, `canConvertStringInCompare` will give a `false` when family is ARRAY and cause this failure.