Skip to content

Commit ef93fbc

Browse files
author
Rong Rong
committed
also test dash table
1 parent 8b75abe commit ef93fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pinot-query-runtime/src/test/resources/queries/SpecialSyntax.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
},
105105
{
106106
"description": "test explicit escape column name used after the with table and sub query",
107-
"sql": "WITH \"table\" AS (SELECT * FROM {tbl3} WHERE \"dash-column\" != 'foo') SELECT \"table\".\"dash-column\", COUNT(*) FROM {tbl3} AS tbl LEFT JOIN \"table\" ON tbl.\"dot.column\" = \"table\".\"dot.column\" GROUP BY 1 ORDER BY SUM(\"table\".\"dot.column\")",
107+
"sql": "WITH \"t-a-b-l-e\" AS (SELECT * FROM {tbl3} WHERE \"dash-column\" != 'foo') SELECT \"t-a-b-l-e\".\"dash-column\", COUNT(*) FROM {tbl3} AS tbl LEFT JOIN \"t-a-b-l-e\" ON tbl.\"dot.column\" = \"t-a-b-l-e\".\"dot.column\" GROUP BY 1 ORDER BY SUM(\"t-a-b-l-e\".\"dot.column\")",
108108
"outputs": [
109109
["bar", 1],
110110
[null, 1]

0 commit comments

Comments
 (0)