by
VVM
• New Contributor III
- 19044 Views
- 13 replies
- 3 kudos
It seems that due to how Databricks processes SQL cells, it's impossible to escape the $ when it comes to a column name.I would expect the following to work:%sql
SELECT 'hi' `$id`The backticks ought to escape everything. And indeed that's exactly wha...
- 19044 Views
- 13 replies
- 3 kudos
Latest Reply
What is the status of this bug? This is affecting user experience.
12 More Replies
by
Graham
• New Contributor III
- 5195 Views
- 4 replies
- 8 kudos
The Problem:I've observed erratic behavior when I add a comment containing a trailing escape character (\) to a CREATE TABLE statement.For example, this query returns data (though it shouldn't):CREATE TABLE example_table
SELECT 1
-- This comment has ...
- 5195 Views
- 4 replies
- 8 kudos
Latest Reply
@Graham Carman we're tracking this as a defect / issue on our side. For now, please don't include the escape character in comments.
3 More Replies