Eventual-Inc / Daft

Distributed data engine for Python/SQL designed for the cloud, powered by Rust
https://getdaft.io
Apache License 2.0
2.35k stars 166 forks source link

[FEAT]: sql "extract" temporal function #3188

Closed universalmind303 closed 2 weeks ago

codspeed-hq[bot] commented 2 weeks ago

CodSpeed Performance Report

Merging #3188 will not alter performance

Comparing universalmind303:sql-extract (bdf69e9) with main (d8cdf36)

Summary

✅ 17 untouched benchmarks

universalmind303 commented 2 weeks ago

Let's add this to docs as well!

so this is a bit different than our catalog functions as it has special syntax. extract(<datetimefield> FROM <column>), and we don't have any mechanism for documenting these kind of exprs yet. (other ones being CAST)