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.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---