You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tw...@apache.org on 2020/07/29 15:40:45 UTC

[flink] 03/06: [hotfix][table-api-java] Fix JavaDocs for TableEnvironment.fromValues

This is an automated email from the ASF dual-hosted git repository.

twalthr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit ff70cc865e7b583126cd6b739b998be706c5c7ca
Author: Timo Walther <tw...@apache.org>
AuthorDate: Mon Jul 27 15:49:44 2020 +0200

    [hotfix][table-api-java] Fix JavaDocs for TableEnvironment.fromValues
---
 .../src/main/java/org/apache/flink/table/api/TableEnvironment.java     | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java b/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java
index d5fa61f..b56cd5b 100644
--- a/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java
+++ b/flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/TableEnvironment.java
@@ -31,7 +31,6 @@ import org.apache.flink.table.module.Module;
 import org.apache.flink.table.sinks.TableSink;
 import org.apache.flink.table.sources.TableSource;
 import org.apache.flink.table.types.AbstractDataType;
-import org.apache.flink.table.types.DataType;
 
 import java.io.Serializable;
 import java.util.Arrays;
@@ -223,7 +222,7 @@ public interface TableEnvironment {
 	 * <p>The method will derive the types automatically from the input expressions. If types
 	 * at a certain position differ, the method will try to find a common super type for all types. If a common
 	 * super type does not exist, an exception will be thrown. If you want to specify the requested type explicitly
-	 * see {@link #fromValues(DataType, Expression...)}.
+	 * see {@link #fromValues(AbstractDataType, Expression...)}.
 	 *
 	 * <p>It is also possible to use {@link org.apache.flink.types.Row} object instead of
 	 * {@code row} expressions.