You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: dev/docker/hive/start.sh
-8
Original file line number
Diff line number
Diff line change
@@ -167,14 +167,6 @@ echo """
167
167
CREATE DATABASE hive;
168
168
"""| mysql --user=root --password=${MYSQL_PWD}
169
169
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
-
178
170
# start hive
179
171
echo"Starting Hive..."
180
172
${HIVE_HOME}/bin/schematool -initSchema -dbType mysql
0 commit comments