StripWhitespaceFilter removes first token instead of trailing whitespace
StripWhitespaceFilter removes first token instead of trailing whitespace: a task in UltraTerminal (Harbor dataset). When using sqlparse formatting with whitespace stripping, the filter incorrectly removes the first token from SQL statements instead of properly handling trailing whitespace. This…
The task
When using sqlparse formatting with whitespace stripping, the filter incorrectly removes the first token from SQL statements instead of properly handling trailing whitespace. This causes SQL queries to be malformed and lose their initial keywords or identifiers.
Part of harness-hub/UltraTerminal.