Skip to content

Commit 8d455f2

Browse files
committed
fix
1 parent af416bf commit 8d455f2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

dev/docker/hive/start.sh

-8
Original file line numberDiff line numberDiff line change
@@ -167,14 +167,6 @@ echo """
167167
CREATE DATABASE hive;
168168
""" | mysql --user=root --password=${MYSQL_PWD}
169169

170-
171-
# change charset
172-
173-
set -i 's/CHARACTER SET latin1 COLLATE latin1_bin/CHARACTER SET utf8mb4 COLLATE utf8mb4_bin/g' ${HIVE_HOME}/scripts/metastore/upgrade/mysql/hive-schema-2.3.0.mysql.sql
174-
set -i 's/CHARSET=latin1/CHARSET=utf8/g' ${HIVE_HOME}/scripts/metastore/upgrade/mysql/hive-schema-2.3.0.mysql.sql
175-
set -i 's/varchar(4000)/text/g' ${HIVE_HOME}/scripts/metastore/upgrade/mysql/hive-schema-2.3.0.mysql.sql
176-
set -i 's/varchar(767)/text/g' ${HIVE_HOME}/scripts/metastore/upgrade/mysql/hive-schema-2.3.0.mysql.sql
177-
178170
# start hive
179171
echo "Starting Hive..."
180172
${HIVE_HOME}/bin/schematool -initSchema -dbType mysql

0 commit comments

Comments
 (0)