[
https://issues.apache.org/jira/browse/FLINK-7691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17328716#comment-17328716
]
Flink Jira Bot commented on FLINK-7691:
---------------------------------------
This major issue is unassigned and itself and all of its Sub-Tasks have not
been updated for 30 days. So, it has been labeled "stale-major". If this ticket
is indeed "major", please either assign yourself or give an update. Afterwards,
please remove the label. In 7 days the issue will be deprioritized.
> Remove ClassTag in Scala DataSet API
> ------------------------------------
>
> Key: FLINK-7691
> URL: https://issues.apache.org/jira/browse/FLINK-7691
> Project: Flink
> Issue Type: Sub-task
> Components: API / DataSet
> Reporter: Timo Walther
> Priority: Major
> Labels: stale-major
> Fix For: 2.0.0
>
>
> In the DataStream API a {{ClassTag}} is not required, which allows to pass
> {{TypeInformation}} manually if required. In the DataSet API most methods
> look like:
> {code}
> // DataSet API
> def fromElements[T: ClassTag : TypeInformation](data: T*): DataSet[T]
> // DataStream API
> def fromElements[T: TypeInformation](data: T*): DataStream[T]
> {code}
> I would propose to remove the ClassTag, if possible. This would make it
> easier e.g. to supply TypeInformation for the {{Row}} type. Or is there an
> easier way in Scala that I don't know?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)