Valid characters for a trino table #20944
Replies: 2 comments 5 replies
-
I am not sure there is a definitive list but I would stick with lowercase alphanumerics and maybe _ .. and thats it. More might work but is bound to cause headaches in different parts of the stack |
Beta Was this translation helpful? Give feedback.
5 replies
-
The other thing worth mentioning is that case sensitivity is also inconsistent across data sources and not consistently supported by Trino either.. hence the recommendation to stick to lowercase... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trino Version: 380
Connector: Hive
Is there a definitive list of what characters are and are not valid for table/view names in trino?
I am writing a simple check function in python to validate that a table name is safe to use (free of SQL injection, etc) and haven't found anything online.
Beta Was this translation helpful? Give feedback.
All reactions