[
https://issues.apache.org/jira/browse/FLINK-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15748110#comment-15748110
]
ASF GitHub Bot commented on FLINK-5188:
---------------------------------------
Github user fhueske commented on a diff in the pull request:
https://github.com/apache/flink/pull/3003#discussion_r92375174
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/table/BatchTableEnvironment.scala
---
@@ -168,8 +168,10 @@ abstract class BatchTableEnvironment(
private[flink] def explain(table: Table, extended: Boolean): String = {
val ast = table.getRelNode
val optimizedPlan = optimize(ast)
- val dataSet =
translate[Row](optimizedPlan)(TypeExtractor.createTypeInfo(classOf[Row]))
- dataSet.output(new DiscardingOutputFormat[Row])
+ val dataSet = translate[org.apache.flink.types.Row](optimizedPlan) (
--- End diff --
OK, I see why you did it this way. I'll move this PR behind #3004.
> Adjust all the imports referencing types.Row and move RowCsvInputFormat
> -----------------------------------------------------------------------
>
> Key: FLINK-5188
> URL: https://issues.apache.org/jira/browse/FLINK-5188
> Project: Flink
> Issue Type: Sub-task
> Components: Core, Table API & SQL
> Reporter: Anton Solovev
> Assignee: Anton Solovev
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)