You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "forideal (Jira)" <ji...@apache.org> on 2019/09/05 16:20:00 UTC
[jira] [Comment Edited] (FLINK-13974) isAssignable function return
wrong result
[ https://issues.apache.org/jira/browse/FLINK-13974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16923582#comment-16923582 ]
forideal edited comment on FLINK-13974 at 9/5/19 4:19 PM:
----------------------------------------------------------
[~Zentol] i use blink planner.
in flink planner,there is not that function call.the code is
{code:java}
val (physicalName, idx, tpe) = resolveInputField(name, tableSource)
// validate that mapped fields are are same type
if (tpe != t) { throw new ValidationException(s"Type $t of table field '$name' does not " + s"match with type $tpe of the field '$physicalName' of the TableSource return type.") } idx
{code}
while,in blink planner
{code:java}
val (physicalName, idx, tpe) = resolveInputField(name, tableSource)
// validate that mapped fields are are same type
if (!isAssignable(fromTypeInfoToLogicalType(tpe), t)) {
throw new ValidationException(s"Type $t of table field '$name' does not " +
s"match with type $tpe of the field '$physicalName' of the TableSource return type.")
}
idx
{code}
was (Author: forideal):
[~Zentol] i use blink planner
> isAssignable function return wrong result
> -----------------------------------------
>
> Key: FLINK-13974
> URL: https://issues.apache.org/jira/browse/FLINK-13974
> Project: Flink
> Issue Type: Bug
> Components: API / Type Serialization System
> Affects Versions: 1.9.0
> Reporter: forideal
> Priority: Major
> Attachments: image-2019-09-05-20-40-05-041.png
>
>
> !image-2019-09-05-20-40-05-041.png!
--
This message was sent by Atlassian Jira
(v8.3.2#803003)