Adding ANSI Reserved Keyword error to Warehouse Errors Page #4771
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Customers have reached out regarding Snowflake warehouse sync failures, after taking the proper troubleshooting steps this is the error we see in our logs:
Error=failed to create table: 002318 (42601): SQL compilation error: invalid column definition name 'CURRENT_DATE' (ANSI reserved)
Which indicate that they one of the columns they are trying to sync has the same title as an ANSI reserved keyword by Snowflake. I don't believe there is any documentation in our public docs that address this so I think it would be a good idea to add this in the Warehouse Errors page and provide a link to a snowflake doc that lists all their keywords so they know not to use any of those reserved keywords in the future.
Merge timing
ASAP once approved