Altonymous commented on issue #37372: URL: https://github.com/apache/airflow/issues/37372#issuecomment-1941973119
Tried using just the file name and updating the template_path to be the exact directory the file lives in with the same result... `template_searchpath=["/app/dags/templates/users/"]` `query="last_event.sql",` last_event.sql contents: `select 1=1 as last_event;` ```log "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/app/dags/templates/users/last_event.sql' at line 1") ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
