[
https://issues.apache.org/jira/browse/FLINK-8008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242255#comment-16242255
]
Muhammad Imran Tariq commented on FLINK-8008:
---------------------------------------------
I am using POJO way to read CSV file. Say a csv file have 2 columns.
ID - Integer | AGE - Double
When a csv file is read, DataSet will make id first column but PojoTypeInfo
read fields in sorted way and place 'age' column at 0 index. So Double datatype
is being applied to ID column. That's why I don't want to sort fields.
> PojoTypeInfo should sort fields fields based on boolean
> -------------------------------------------------------
>
> Key: FLINK-8008
> URL: https://issues.apache.org/jira/browse/FLINK-8008
> Project: Flink
> Issue Type: Improvement
> Components: DataSet API
> Affects Versions: 1.3.2
> Reporter: Muhammad Imran Tariq
> Priority: Minor
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Flink PojoTypeInfo<T> sorts fields array that are passed into constructor
> arguments. I want to create another constructor that takes boolean parameter
> to sort field or not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)