You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2020/09/28 06:41:15 UTC

[GitHub] [flink] JingsongLi commented on a change in pull request #13216: [FLINK-18999][table-planner-blink][hive] Temporary generic table does…

JingsongLi commented on a change in pull request #13216:
URL: https://github.com/apache/flink/pull/13216#discussion_r495718639



##########
File path: flink-table/flink-table-common/src/main/java/org/apache/flink/table/factories/FactoryUtil.java
##########
@@ -109,11 +109,27 @@ public static DynamicTableSource createTableSource(
 			CatalogTable catalogTable,
 			ReadableConfig configuration,
 			ClassLoader classLoader) {
+		return createTableSource(catalog, objectIdentifier, catalogTable, configuration, classLoader, false);
+	}
+
+	/**
+	 * Creates a {@link DynamicTableSource} from a {@link CatalogTable}.
+	 *
+	 * <p>It considers {@link Catalog#getFactory()} if provided.
+	 */
+	public static DynamicTableSource createTableSource(

Review comment:
       Why don't remove old methods? Looks like they will hides potential bugs.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org