File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
docker/thirdparties/docker-compose/iceberg
scripts/create_preinstalled_scripts/iceberg_scala Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ echo "Script paimon total: {} executed in $EXECUTION_TIME2 seconds"
5858
5959ls /mnt/scripts/create_preinstalled_scripts/iceberg_scala/* .scala | xargs -n 1 -I {} bash -c '
6060 START_TIME=$(date +%s)
61- spark-shell --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions -i {}
61+ spark-shell --conf spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions -I {}
6262 END_TIME=$(date +%s)
6363 EXECUTION_TIME=$((END_TIME - START_TIME))
6464 echo "Script: {} executed in $EXECUTION_TIME seconds"
Original file line number Diff line number Diff line change 1+ // Licensed to the Apache Software Foundation (ASF) under one
2+ // or more contributor license agreements. See the NOTICE file
3+ // distributed with this work for additional information
4+ // regarding copyright ownership. The ASF licenses this file
5+ // to you under the Apache License, Version 2.0 (the
6+ // "License"); you may not use this file except in compliance
7+ // with the License. You may obtain a copy of the License at
8+ //
9+ // http://www.apache.org/licenses/LICENSE-2.0
10+ //
11+ // Unless required by applicable law or agreed to in writing,
12+ // software distributed under the License is distributed on an
13+ // "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+ // KIND, either express or implied. See the License for the
15+ // specific language governing permissions and limitations
16+ // under the License.
17+
118val dbName = " format_v3"
219val tableName = " dv_test"
320val fullTable = s " $dbName. $tableName"
@@ -147,4 +164,4 @@ DELETE FROM $fullTable
147164WHERE id%3 = 1
148165""" )
149166
150- // spark.sql(s""" select count(*) from $fullTable """).show()
167+ // spark.sql(s""" select count(*) from $fullTable """).show()
You can’t perform that action at this time.
0 commit comments