[
https://issues.apache.org/jira/browse/FLINK-5188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15747910#comment-15747910
]
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_r92358457
--- 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 --
Add an import for `Row` instead of using the full class name.
> 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)