goccy / go-zetasqlite

A database driver library that interprets ZetaSQL queries and runs them using SQLite3
MIT License
57 stars 30 forks source link

Implement dayOfYearParser #197

Closed recidinick closed 7 months ago

recidinick commented 8 months ago

Implements dayOfYearParser in internal/function_time_parser.go. It tests assorted PARSE_DATE and PARSE_DATETIME calls, including on a leap year, as well as invalid day of year handling.

Closes #196

ohaibbq commented 8 months ago

This one looks good to me and it is working well in our fork. cc @goccy

goccy commented 7 months ago

Thank you for your great PR !!! Awesome 👍