We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e8fa1 commit 234230aCopy full SHA for 234230a
packages/cubejs-databricks-jdbc-driver/src/DatabricksQuery.ts
@@ -141,7 +141,9 @@ export class DatabricksQuery extends BaseQuery {
141
}
142
143
public escapeColumnName(name: string) {
144
- return `\`${name}\``;
+ // Use ` to escape ` itself.
145
+ // https://docs.databricks.com/en/sql/language-manual/sql-ref-identifiers.html
146
+ return `\`${name.replaceAll('`', '``')}\``;
147
148
149
public getFieldIndex(id: string) {
0 commit comments