[jira] [Updated] (FLINK-13651) Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string to corresponding datatype

2020-05-26 Thread Piotr Nowojski (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-13651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Nowojski updated FLINK-13651:
---
Release Note:   (was: Expression DSL would be refactored, so this fix 
cancels.)

> Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string 
> to corresponding datatype
> -
>
> Key: FLINK-13651
> URL: https://issues.apache.org/jira/browse/FLINK-13651
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Planner
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Zhenghua Gao
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.11.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> could reproduce in  ScalarFunctionsTest:
> `testAllApis(
>    'f31.cast(DataTypes.DECIMAL(38, 18)).truncate(2),
>    "f31.cast(DECIMAL(38, 18)).truncate(2)",
>    "truncate(cast(f31 as decimal(38, 18)), 2)",
>    "-0.12")`
>  
> A possible reason is LookupCallResolver treat decimal(38, 18) as a function 
> call.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-13651) Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string to corresponding datatype

2020-01-08 Thread Jingsong Lee (Jira)


 [ 
https://issues.apache.org/jira/browse/FLINK-13651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jingsong Lee updated FLINK-13651:
-
Fix Version/s: 1.11.0

> Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string 
> to corresponding datatype
> -
>
> Key: FLINK-13651
> URL: https://issues.apache.org/jira/browse/FLINK-13651
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Planner
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Zhenghua Gao
>Priority: Major
>  Labels: pull-request-available
> Fix For: 1.11.0
>
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> could reproduce in  ScalarFunctionsTest:
> `testAllApis(
>    'f31.cast(DataTypes.DECIMAL(38, 18)).truncate(2),
>    "f31.cast(DECIMAL(38, 18)).truncate(2)",
>    "truncate(cast(f31 as decimal(38, 18)), 2)",
>    "-0.12")`
>  
> A possible reason is LookupCallResolver treat decimal(38, 18) as a function 
> call.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (FLINK-13651) Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string to corresponding datatype

2019-08-15 Thread ASF GitHub Bot (JIRA)


 [ 
https://issues.apache.org/jira/browse/FLINK-13651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-13651:
---
Labels: pull-request-available  (was: )

> Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string 
> to corresponding datatype
> -
>
> Key: FLINK-13651
> URL: https://issues.apache.org/jira/browse/FLINK-13651
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Planner
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Zhenghua Gao
>Priority: Major
>  Labels: pull-request-available
>
> could reproduce in  ScalarFunctionsTest:
> `testAllApis(
>    'f31.cast(DataTypes.DECIMAL(38, 18)).truncate(2),
>    "f31.cast(DECIMAL(38, 18)).truncate(2)",
>    "truncate(cast(f31 as decimal(38, 18)), 2)",
>    "-0.12")`
>  
> A possible reason is LookupCallResolver treat decimal(38, 18) as a function 
> call.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (FLINK-13651) Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string to corresponding datatype

2019-08-15 Thread Zhenghua Gao (JIRA)


 [ 
https://issues.apache.org/jira/browse/FLINK-13651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhenghua Gao updated FLINK-13651:
-
Summary: Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside 
a string to corresponding datatype  (was: Blink planner should parse 
char(n)/varchar(n)/decimal(p, s)/timestamp(p) inside a string to corresponding 
datatype)

> Blink planner should parse char(n)/varchar(n)/decimal(p, s) inside a string 
> to corresponding datatype
> -
>
> Key: FLINK-13651
> URL: https://issues.apache.org/jira/browse/FLINK-13651
> Project: Flink
>  Issue Type: Bug
>  Components: Table SQL / Planner
>Affects Versions: 1.9.0, 1.10.0
>Reporter: Zhenghua Gao
>Priority: Major
>
> could reproduce in  ScalarFunctionsTest:
> `testAllApis(
>    'f31.cast(DataTypes.DECIMAL(38, 18)).truncate(2),
>    "f31.cast(DECIMAL(38, 18)).truncate(2)",
>    "truncate(cast(f31 as decimal(38, 18)), 2)",
>    "-0.12")`
>  
> A possible reason is LookupCallResolver treat decimal(38, 18) as a function 
> call.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)