trinodb / trino

Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
https://trino.io
Apache License 2.0
10.49k stars 3.02k forks source link

Inform user what are extractable date/time fields #24192

Open findepi opened 1 day ago

findepi commented 1 day ago

Make the error message for invalid extract more helpful.

relates to https://github.com/trinodb/trino/issues/24175

hashhar commented 1 day ago

have you seen https://github.com/trinodb/trino/pull/23002, it's related.

Once you fill out the blanks in this PR I can review it.