[
https://issues.apache.org/jira/browse/FLINK-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16531584#comment-16531584
]
ASF GitHub Bot commented on FLINK-9699:
---------------------------------------
Github user yanghua commented on a diff in the pull request:
https://github.com/apache/flink/pull/6236#discussion_r199858196
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/java/BatchTableEnvironment.scala
---
@@ -55,9 +55,22 @@ class BatchTableEnvironment(
* @return The converted [[Table]].
*/
def fromDataSet[T](dataSet: DataSet[T]): Table = {
+ fromDataSet(dataSet, false)
+ }
+ /**
+ * Converts the given [[DataSet]] into a [[Table]].
+ *
+ * The field names of the [[Table]] are automatically derived from the
type of the [[DataSet]].
+ *
+ * @param dataSet The [[DataSet]] to be converted.
+ * @tparam T The type of the [[DataSet]].
+ * @param replace Whether to replace the registered table
--- End diff --
end with a point
> Add api to replace registered table
> -----------------------------------
>
> Key: FLINK-9699
> URL: https://issues.apache.org/jira/browse/FLINK-9699
> Project: Flink
> Issue Type: Improvement
> Reporter: Jeff Zhang
> Priority: Major
> Labels: pull-request-available
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)