Summary
Rename the following legacy error conditions in the SQL parser to proper descriptive names and add SQL states:
| Legacy Name |
New Name |
sqlState |
Description |
_LEGACY_ERROR_TEMP_0014 |
TABLESAMPLE_EMPTY_INPUT |
42601 |
TABLESAMPLE with empty inputs |
_LEGACY_ERROR_TEMP_0015 |
UNSUPPORTED_TABLESAMPLE_METHOD |
0A000 |
Unsupported TABLESAMPLE method |
_LEGACY_ERROR_TEMP_0016 |
INVALID_BYTE_LENGTH_LITERAL |
42604 |
Invalid byte length literal |
Motivation
This is part of the ongoing effort to replace legacy temporary error condition names with proper descriptive names. These three errors are related to TABLESAMPLE parsing and are grouped together for clarity.
References