This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new cd3415f [FLINK-22346][sql-client] Remove sql-client-defaults.yaml
cd3415f is described below
commit cd3415fe9de7fcf49831244445552011c8f4b950
Author: Shengkai <[email protected]>
AuthorDate: Tue Apr 20 21:54:29 2021 +0800
[FLINK-22346][sql-client] Remove sql-client-defaults.yaml
This closes #15670
---
flink-dist/src/main/assemblies/bin.xml | 9 +-
.../flink-sql-client/conf/sql-client-defaults.yaml | 142 ---------------------
2 files changed, 1 insertion(+), 150 deletions(-)
diff --git a/flink-dist/src/main/assemblies/bin.xml
b/flink-dist/src/main/assemblies/bin.xml
index 3eddc8b..f5b9aac 100644
--- a/flink-dist/src/main/assemblies/bin.xml
+++ b/flink-dist/src/main/assemblies/bin.xml
@@ -142,13 +142,6 @@ under the License.
<fileMode>0755</fileMode>
</fileSet>
- <!-- copy SQL client configuration files -->
- <fileSet>
-
<directory>../flink-table/flink-sql-client/conf/</directory>
- <outputDirectory>conf</outputDirectory>
- <fileMode>0644</fileMode>
- </fileSet>
-
<!-- copy yarn start scripts -->
<fileSet>
<directory>src/main/flink-bin/yarn-bin</directory>
@@ -169,7 +162,7 @@ under the License.
<outputDirectory>bin</outputDirectory>
<fileMode>0755</fileMode>
</fileSet>
-
+
<!-- copy default configuration -->
<fileSet>
<directory>src/main/flink-bin/conf</directory>
diff --git a/flink-table/flink-sql-client/conf/sql-client-defaults.yaml
b/flink-table/flink-sql-client/conf/sql-client-defaults.yaml
deleted file mode 100644
index de034e7..0000000
--- a/flink-table/flink-sql-client/conf/sql-client-defaults.yaml
+++ /dev/null
@@ -1,142 +0,0 @@
-################################################################################
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-################################################################################
-
-
-# This file defines the default environment for Flink's SQL Client.
-# Defaults might be overwritten by a session specific environment.
-
-
-# See the Table API & SQL documentation for details about supported properties.
-
-
-#==============================================================================
-# Tables
-#==============================================================================
-
-# Define tables here such as sources, sinks, views, or temporal tables.
-
-tables: [] # empty list
-# A typical table source definition looks like:
-# - name: ...
-# type: source-table
-# connector: ...
-# format: ...
-# schema: ...
-
-# A typical view definition looks like:
-# - name: ...
-# type: view
-# query: "SELECT ..."
-
-# A typical temporal table definition looks like:
-# - name: ...
-# type: temporal-table
-# history-table: ...
-# time-attribute: ...
-# primary-key: ...
-
-
-#==============================================================================
-# User-defined functions
-#==============================================================================
-
-# Define scalar, aggregate, or table functions here.
-
-functions: [] # empty list
-# A typical function definition looks like:
-# - name: ...
-# from: class
-# class: ...
-# constructor: ...
-
-
-#==============================================================================
-# Catalogs
-#==============================================================================
-
-# Define catalogs here.
-
-catalogs: [] # empty list
-# A typical catalog definition looks like:
-# - name: myhive
-# type: hive
-# hive-conf-dir: /opt/hive_conf/
-# default-database: ...
-
-#==============================================================================
-# Modules
-#==============================================================================
-
-# Define modules here.
-
-#modules: # note the following modules will be of the order they are specified
-# - name: core
-# type: core
-
-#==============================================================================
-# Execution properties
-#==============================================================================
-
-# Properties that change the fundamental execution behavior of a table program.
-
-execution:
- # select the implementation responsible for planning table programs
- # possible values are 'blink' (used by default) or 'old'
- planner: blink
- # 'batch' or 'streaming' execution
- type: streaming
- # allow 'event-time' or only 'processing-time' in sources
- time-characteristic: event-time
- # interval in ms for emitting periodic watermarks
- periodic-watermarks-interval: 200
- # 'changelog', 'table' or 'tableau' presentation of results
- result-mode: table
- # maximum number of maintained rows in 'table' presentation of results
- max-table-result-rows: 1000000
- # parallelism of the program
- # parallelism: 1
- # maximum parallelism
- max-parallelism: 128
- # minimum idle state retention in ms
- min-idle-state-retention: 0
- # maximum idle state retention in ms
- max-idle-state-retention: 0
- # current catalog ('default_catalog' by default)
- current-catalog: default_catalog
- # current database of the current catalog (default database of the catalog
by default)
- current-database: default_database
- # controls how table programs are restarted in case of a failures
- # restart-strategy:
- # strategy type
- # possible values are "fixed-delay", "failure-rate", "none", or "fallback"
(default)
- # type: fallback
-
-#==============================================================================
-# Configuration options
-#==============================================================================
-
-# Configuration options for adjusting and tuning table programs.
-
-# A full list of options and their default values can be found
-# on the dedicated "Configuration" web page.
-
-# A configuration can look like:
-# configuration:
-# table.exec.spill-compression.enabled: true
-# table.exec.spill-compression.block-size: 128kb
-# table.optimizer.join-reorder-enabled: true