Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Queries similar to SELECT 1 UNION SELECT 2, 3 causes validator to throws a NullPointerException instance instead of a proper error message about the column count mismatch.
SqlUtil#getSelectListItem is used by Set operators to get select items if the types of operands don't match. Unfortunately the method may throw an NPE exception if one of the operand doesn't have a FROM clause.
Attachments
Issue Links
- links to