Skip to content

which function is databend supported for date? #8762

Answered by elderbig
elderbig asked this question in Q&A
Discussion options

You must be logged in to vote

I found functions at
https://databend.rs/doc/reference/functions/datetime-functions/datesub
but when I query sql:

SELECT date_sub(YEAR, 1, created_at) from github_data limit 1;

both curl put request and sql query request blocked until I kill mysql client.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@elderbig
Comment options

@sundy-li
Comment options

@elderbig
Comment options

@elderbig
Comment options

Answer selected by Xuanwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants