You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
breaks all queries with the error Expected substitution name (identifier). (SYNTAX_ERROR).
Steps to reproduce
Assuming you're using a real S3 parquet file path
This works:
(in Metabase UI, some_value = 'abcd')
SELECT col1 FROM s3('s3://my_bucket/my_file.parquet','Parquet') where col1 = {{ some_value }};
This works:
SELECT col1 FROM s3('s3://my_bucket/*.parquet','Parquet') where col1 = 'abcd';
This does not work:
(in Metabase UI, some_value = 'abcd')
SELECT col1 FROM s3('s3://my_bucket/*.parquet','Parquet') where col1 = {{ some_value }};
Yields the following error: Code: 62. DB::Exception: Syntax error: failed at position 276 ('{') (line 3, col 20): {some_value}}. Expected substitution name (identifier). (SYNTAX_ERROR) (version 24.8.4.13 (official build))
Describe the bug
x-posted from here
Using both
breaks all queries with the error
Expected substitution name (identifier). (SYNTAX_ERROR)
.Steps to reproduce
Assuming you're using a real S3 parquet file path
This works:
This works:
This does not work:
Yields the following error:
Code: 62. DB::Exception: Syntax error: failed at position 276 ('{') (line 3, col 20): {some_value}}. Expected substitution name (identifier). (SYNTAX_ERROR) (version 24.8.4.13 (official build))
Expected behavior
The query should execute without a syntax error.
Error log
Configuration
Environment
ClickHouse server
The text was updated successfully, but these errors were encountered: