Replies: 2 comments 1 reply
-
@dosu, please help. |
Beta Was this translation helpful? Give feedback.
1 reply
-
The {{dataset()}} macro in Superset always uses the AS keyword to generate SQL with aliases, such as (SELECT...) AS dataset_1, independent of the database. Oracle does not allow AS to use table aliases in subqueries. Therefore, using the {{dataset()}} macro in oracle will result in the ORA-00907 error. #34613 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to run a query for saved dataset using jinja in SQL lab.
I tried:
select * from {{dataset(115)}}
I face the error:
oracle error: ORA-00907: missing right parenthesis
The jinja flag is turned on:
'ENABLE_TEMPLATE_PROCESSING': True,
The datasource_id = 115 is related with the dataset on the Datasets tab.
My query is simple:
What am I missing? How to run queries like
select * from {{dataset(115)}}
?Beta Was this translation helpful? Give feedback.
All reactions