Large Tokens cause Internal Server Error

Details

Detail name Value
Changelog Number 16154
Type Bug
Status Resolved
Affected Versions Exasol 7.1.0, Exasol 8.0.0
Fix Versions Exasol 7.1.23, Exasol 8.23.0
Resolution Date 2023-09-11

Description

Using invalid tokens (e.g., identifiers) with more than 20000 characters lead to an Internal Server error instead of a proper error message.

Example

-- It is necessary to replace ... in the following line with ~20000 characters
SELECT a...a;

Workaround

Use only valid tokens and identifiers.

Fix

Exasol throws the error Parser error: input buffer overflow, can't enlarge buffer because scanner uses REJECT.