Hi team, how do I quote a reserved word like “time...
# troubleshooting
t
Hi team, how do I quote a reserved word like “timestamp” when querying pinot in Presto? I tried using double quotes but it’s not working, any workarounds ?
k
whats the error? @Xiang Fu ^^
x
TIMESTAMP is a reserved keyword in presto for data type, try to avoid using that for your own convenient
you can try if using ` will help
t
``backtick is not working,
Copy code
line 1:8: backquoted identifiers are not supported; use double quotes to quote identifiers
And when using double quotes, the error is from pinot server, not from presto
Copy code
Parsing error with on Server_pinot-server-2.pinot-server-headless.pinot.svc.cluster.local_8098, Error = org.apache.calcite.sql.parser.SqlParseException: Encountered "timestamp FROM" at line 1, column 8.