This is an automated email from the ASF dual-hosted git repository. rpardomeza pushed a commit to branch blossom-teradata in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
commit 7f6f44433de31cbfd5830e6df57fa86106b9ed68 Author: Rodrigo Pardo Meza <[email protected]> AuthorDate: Tue Jun 14 23:10:38 2022 +0200 [TERADATA] Configuration file for JDBC Teradata driver connection --- .../resources/wayang-teradata-defaults.properties | 90 ++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/wayang-plugins/wayang-teradata/src/main/resources/wayang-teradata-defaults.properties b/wayang-plugins/wayang-teradata/src/main/resources/wayang-teradata-defaults.properties new file mode 100644 index 00000000..eedcfbe3 --- /dev/null +++ b/wayang-plugins/wayang-teradata/src/main/resources/wayang-teradata-defaults.properties @@ -0,0 +1,90 @@ +# +# 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. +# + +wayang.teradata.jdbc.url = jdbc:teradata://192.168.46.74 +wayang.teradata.jdbc.user = dbc +wayang.teradata.jdbc.password = dbc + +# Cost function parameters +wayang.teradata.cpu.mhz = 2700 +wayang.teradata.cores = 2 +wayang.teradata.costs.fix = 0.0 +wayang.teradata.costs.per-ms = 1.0 + + +wayang.teradata.tablesource.load.template = {\ + "type":"mathex", "in":0, "out":1,\ + "cpu":"?*out0 + ?}",\ + "ram":"0",\ + "p":0.9\ +} +# NB: Not measured. +wayang.teradata.tablesource.load = {\ + "in":0, "out":1,\ + "cpu":"${55*out0 + 380000}",\ + "ram":"0",\ + "p":0.9\ +} + +wayang.teradata.filter.load.template = {\ + "type":"mathex", "in":1, "out":1,\ + "cpu":"?*in0 + ?}",\ + "ram":"0",\ + "p":0.9\ +} +# NB: Not measured. +wayang.teradata.filter.load = {\ + "in":1, "out":1,\ + "cpu":"${55*in0 + 380000}",\ + "ram":"0",\ + "p":0.9\ +} + +wayang.teradata.projection.load.template = {\ + "type":"mathex", "in":1, "out":1,\ + "cpu":"?*in0 + ?}",\ + "ram":"0",\ + "p":0.9\ +} +# NB: Not measured. +wayang.teradata.projection.load = {\ + "in":1, "out":1,\ + "cpu":"${55*in0 + 380000}",\ + "ram":"0",\ + "p":0.9\ +} + +wayang.teradata.sqltostream.load.query.template = {\ + "type":"mathex", "in":1, "out":1,\ + "cpu":"?*out0 + ?"\ +} +wayang.teradata.sqltostream.load.query = {\ + "in":1, "out":1,\ + "cpu":"${50*out0 + 380000}",\ + "ram":"0",\ + "p":0.9\ +} +wayang.teradata.sqltostream.load.output.template = {\ + "type":"mathex", "in":1, "out":1,\ + "cpu":"?*out0"\ +} +wayang.teradata.sqltostream.load.output = {\ + "in":1, "out":1,\ + "cpu":"${50*out0}",\ + "ram":"0",\ + "p":0.9\ +}
