This is an automated email from the ASF dual-hosted git repository. twalthr pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/flink.git.
from 9fa61aa [FLINK-13029][table-planner] Removed usages of ExpressionBridge in QueryOperation's factories new 1a224b3 [hotfix][table-common] Enable finding multiple matching TableFactories from TableFactoryService new 95944e2 [FLINK-12798][table] Add a discovery mechanism for switching between Flink/Blink Planner/Executor The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: flink-python/pyflink/table/table_config.py | 36 ---- .../table/tests/test_table_environment_api.py | 12 -- .../client/gateway/local/ExecutionContextTest.java | 3 +- .../client/gateway/local/LocalExecutorITCase.java | 7 +- .../table/api/java/BatchTableEnvironment.java | 5 +- .../table/api/java/StreamTableEnvironment.java | 155 +++++++++----- .../java/internal/StreamTableEnvironmentImpl.java | 66 +++--- .../flink/table/api/EnvironmentSettings.java | 228 +++++++++++++++++++++ .../org/apache/flink/table/api/TableConfig.java | 44 ---- .../apache/flink/table/api/TableEnvironment.java | 22 +- .../table/api/internal/TableEnvironmentImpl.java | 4 +- .../flink/table/delegation/ExecutorFactory.java | 50 +++++ .../internal => delegation}/PlannerFactory.java | 49 ++--- .../flink/table/factories/ComponentFactory.java} | 32 ++- .../table/factories/ComponentFactoryService.java | 80 ++++++++ .../factories/ComponentFactoryServiceTest.java | 68 ++++++ .../factories/utils/OtherTestPlannerFactory.java | 12 +- .../table/factories/utils/TestPlannerFactory.java | 69 +++++++ .../org.apache.flink.table.factories.TableFactory | 3 +- .../table/api/scala/BatchTableEnvironment.scala | 7 +- .../table/api/scala/StreamTableEnvironment.scala | 132 ++++++++---- .../internal/StreamTableEnvironmentImpl.scala | 90 ++++---- .../table/api/AmbiguousTableFactoryException.java | 36 ++-- .../apache/flink/table/factories/TableFactory.java | 1 - .../flink/table/factories/TableFactoryService.java | 146 ++++++++----- .../flink/table/executor/StreamExecutor.java | 4 +- ...utorFactory.java => StreamExecutorFactory.java} | 49 +++-- .../flink/table/planner/StreamPlannerFactory.java | 70 +++++++ .../org.apache.flink.table.factories.TableFactory | 2 + .../flink/table/api/internal/TableEnvImpl.scala | 4 +- .../api/stream/StreamTableEnvironmentTest.scala | 26 ++- .../factories/TableFormatFactoryServiceTest.scala | 7 - .../apache/flink/table/utils/TableTestBase.scala | 76 +++---- 33 files changed, 1115 insertions(+), 480 deletions(-) create mode 100644 flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/EnvironmentSettings.java create mode 100644 flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/delegation/ExecutorFactory.java rename flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/{api/internal => delegation}/PlannerFactory.java (55%) copy flink-table/{flink-table-common/src/main/java/org/apache/flink/table/factories/DeserializationSchemaFactory.java => flink-table-api-java/src/main/java/org/apache/flink/table/factories/ComponentFactory.java} (52%) create mode 100644 flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/factories/ComponentFactoryService.java create mode 100644 flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/factories/ComponentFactoryServiceTest.java copy flink-core/src/main/java/org/apache/flink/util/SerializableObject.java => flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/factories/utils/OtherTestPlannerFactory.java (72%) create mode 100644 flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/factories/utils/TestPlannerFactory.java copy {flink-connectors/flink-connector-kafka-0.10/src/main => flink-table/flink-table-api-java/src/test}/resources/META-INF/services/org.apache.flink.table.factories.TableFactory (86%) rename flink-table/flink-table-planner/src/main/java/org/apache/flink/table/executor/{ExecutorFactory.java => StreamExecutorFactory.java} (51%) create mode 100644 flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/StreamPlannerFactory.java