snowflake-sqlalchemy
snowflake-sqlalchemy copied to clipboard
render func.sysdate as SYSDATE()
Please answer these questions before submitting your pull requests. Thanks!
-
What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes https://github.com/snowflakedb/snowflake-sqlalchemy/issues/289 / SNOW-589556
-
Fill out the following pre-review checklist:
- [x] I am adding a new automated test(s) to verify correctness of my new code
- [ ] I am adding new logging messages
- [ ] I am adding new credentials
- [ ] I am adding a new dependency
-
Please describe how your code solves the related issue.
This adds the
visit_sysdate_func
method to the SnowflakeCompiler to handlefunc.sysdate()
elements