readysettech / readyset

Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.
https://readyset.io
Other
4.54k stars 125 forks source link

nom-sql: Add parsing for `EXTRACT` built-in #1261

Open ethan-readyset opened 6 months ago

ethan-readyset commented 6 months ago

This commit adds parsing for the built-in EXTRACT function. This function is present in both MySQL and PostgreSQL, but the supported fields across the two databases are different. To keep things simple and scoped, only support for the PostgreSQL fields have been added.

CLAassistant commented 4 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 4 committers have signed the CLA.

:white_check_mark: altmannmarcelo
:x: mvzink
:x: vassili-zarouba
:x: rs-sac
You have signed the CLA already but the status is still pending? Let us recheck it.