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
Hi, first of all. Thanks for this wonderful extension. Many of my colleagues use it in their daily work.
However, I've encountered a problem when trying to use a widget in SparkSQL, for example I have
CREATE WIDGET TEXT ENVIRONMENT DEFAULT "_DEV"
in my first cell. This works fine. The second cell reads
SELECT * from testcatalog${ENVIRONMENT}.testschema.testtable;
which results in the following error:
[PARSE_SYNTAX_ERROR] Syntax error at or near ''_DEV''. SQLSTATE: 42601
Error: org.apache.spark.sql.catalyst.parser.ParseException:
[PARSE_SYNTAX_ERROR] Syntax error at or near ''_DEV''. SQLSTATE: 42601 (line 1, pos 25)
== SQL ==
SELECT * from testcatalog'_DEV'.testschema.testtable
That is, the evaluation of ${WIDGETNAME} adds two single quotes around the value of the variable.
Am I missing something or is this unexpected behavior?
The text was updated successfully, but these errors were encountered:
Hi, first of all. Thanks for this wonderful extension. Many of my colleagues use it in their daily work.
However, I've encountered a problem when trying to use a widget in SparkSQL, for example I have
CREATE WIDGET TEXT ENVIRONMENT DEFAULT "_DEV"
in my first cell. This works fine. The second cell reads
SELECT * from testcatalog${ENVIRONMENT}.testschema.testtable;
which results in the following error:
That is, the evaluation of ${WIDGETNAME} adds two single quotes around the value of the variable.
Am I missing something or is this unexpected behavior?
The text was updated successfully, but these errors were encountered: