Closed Xiaoming-lw closed 1 month ago
This is an intentional guardrail to prevent creation of poorly named entities.
In this specific case allowing "colon" character would potentially confuse users.
EVENT_JSON:USERIDENTITY -- this is valid Snowflake syntax to access field in VARIANT column
"EVENT_JSON:USERIDENTITY" -- this is a column name, looks similar, but nothing to do with Snowflake syntax
Also, it look weird in YAML config: event_json:useridentity:
Consider using one underscore, two underscores or dollar-sign instead of colon for better naming.
EVENT_JSON_USERIDENTITY
EVENT_JSON__USERIDENTITY
EVENT_JSON$USERIDENTITY
Column name of this kind will be accessible without double-quotes.
Thank you @littleK0i , it really bring some confusion. I thought it is related with some snowflake feature, but not. Maybe someone just copied it from another query statement and didn't change the name.
Describe the bug
Snowddl runs error while reading the config yaml files for a table column containing character ":".
Create table:
Convert table into yaml: