You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2023/03/08 09:34:00 UTC
[jira] [Closed] (FLINK-31279) fix times using number and interval type bug
[ https://issues.apache.org/jira/browse/FLINK-31279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jark Wu closed FLINK-31279.
---------------------------
Assignee: jackylau
Resolution: Fixed
Fixed in master: 75d94108a8e7dc51825ff9063c2c3f4649bf0eb4
> fix times using number and interval type bug
> ---------------------------------------------
>
> Key: FLINK-31279
> URL: https://issues.apache.org/jira/browse/FLINK-31279
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.18.0
> Reporter: jackylau
> Assignee: jackylau
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.18.0
>
>
> {code:java}
> // code placeholder
> Flink SQL> select 2 * interval '3' day;
> [ERROR] Could not execute SQL statement. Reason:
> org.apache.flink.table.planner.codegen.CodeGenException: Interval expression type expected. {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)