Github user vasia commented on a diff in the pull request:
https://github.com/apache/flink/pull/1827#discussion_r57074776
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/scala/table/TableEnvironment.scala
---
@@ -72,5 +74,68 @@ class TableEnvironment {
new ScalaBatchTranslator(config).translate[T](table.relNode)
}
-}
+ /**
+ * Registers a DataSet under a unique name, so that it can be used in
SQL queries.
+ * The fields of the DataSet type are used to name the Table fields.
+ * @param name the Table name
+ * @param dataset the DataSet to register
+ */
+ def registerDataSet[T](name: String, dataset: DataSet[T]): Unit = {
--- End diff --
probably :)
---
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.
---