Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document support fields for extract(field from date_time) #24175

Open
findepi opened this issue Nov 19, 2024 · 2 comments
Open

Document support fields for extract(field from date_time) #24175

findepi opened this issue Nov 19, 2024 · 2 comments
Labels
docs needs-docs This pull request requires changes to the documentation

Comments

@findepi
Copy link
Member

findepi commented Nov 19, 2024

https://trino.io/docs/current/functions/datetime.html#extract

Image

it should

  • document which fields are generally allowed (whether it's 100% SQL standard behavior, less or more, it should be explicit in the docs)
  • document which fields are applicable to which date/time types

cc @bitsondatadev @colebow @mosabua

@findepi findepi added docs needs-docs This pull request requires changes to the documentation labels Nov 19, 2024
@mosabua
Copy link
Member

mosabua commented Nov 20, 2024

A good little project for @jhlodin and team.

@mosabua
Copy link
Member

mosabua commented Nov 20, 2024

Or @Lukashmoser maybe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs needs-docs This pull request requires changes to the documentation
Development

No branches or pull requests

2 participants