Open NightStr opened 2 weeks ago
The SQL statement produced by the YqlDialect
is missing the DECLARE
section, which is required for parameterized YQL queries.
I have noticed that the parameter _add_declare_for_yql_stmt_vars
can be set to True
to fix this issue.
All specified parameters must be declared in the YQL query using the
DECLARE
operator; otherwise, you will get an error "Query does not contain parameter".
Issue Description
I tried running
example.py
:However, I encountered the following error:
Environment
Installed Packages:
It seems there is an issue with the SQL query, especially regarding the variable
series_id_m0
. The error reports an "Unknown name" for this placeholder. Could you please help in resolving this issue?Thank you!