google / zetasql

ZetaSQL - Analyzer Framework for SQL
Apache License 2.0
2.28k stars 214 forks source link

fix: built-in TIMESTAMP(str) function does not respect nano precision in language options #154

Open kberezin-nshl opened 6 months ago

kberezin-nshl commented 6 months ago

Fixes: https://github.com/google/zetasql/issues/153

I am aware that:

We are not currently accepting external code contributions to this project. Please feel free to file bugs and feature requests using GitHub's issue tracker.

but I found it would be easier for me to just create PR than explain how to fix the problem :)