You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Flavio Pompermaier (Jira)" <ji...@apache.org> on 2020/04/09 08:34:00 UTC

[jira] [Commented] (FLINK-17062) Fix the conversion from Java row type to Python row type

    [ https://issues.apache.org/jira/browse/FLINK-17062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079058#comment-17079058 ] 

Flavio Pompermaier commented on FLINK-17062:
--------------------------------------------

Maybe a stupid question: would it be possible (in the future of course) to use Arrow as Row type both for Java and Python so you don't have to pay the cost of conversion? Also a frontend consuming the data could benefit from using already existing arrow-js libraries

> Fix the conversion from Java row type to Python row type
> --------------------------------------------------------
>
>                 Key: FLINK-17062
>                 URL: https://issues.apache.org/jira/browse/FLINK-17062
>             Project: Flink
>          Issue Type: Bug
>          Components: API / Python
>    Affects Versions: 1.9.0
>            Reporter: Dian Fu
>            Assignee: Dian Fu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.9.3, 1.10.1, 1.11.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> It iterate over the result of FieldsDataType.getFieldDataTypes when converting Java row type to Python row type. The result is non-deterministic as the result of FieldsDataType.getFieldDataTypes is of type map.



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