Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
For example SELECT LPAD('A', 2, ''); will cause an infinite loop and the running query will hang without any error.
It would be great if this could be prevented by checking the pad character's length and if it's 0 then throw a SemanticException.