You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Caizhi Weng <ts...@gmail.com> on 2021/08/25 09:33:10 UTC

Re: Do we have date_sub function in flink sql?

Hi!

Try this

ts - interval '1' day

where ts is your timestamp or date column.

1095193290@qq.com <10...@qq.com> 于2021年8月25日周三 下午5:20写道:

> Hi
>    I want to  substract 1 day from current date with Flink sql. Do we have
> this function like  date_sub()?
>
> ------------------------------
> 1095193290@qq.com
>