记一次hive打patch的过程

ISSUE

https://issues.apache.org/jira/browse/HIVE-18920

操作步骤

git switch master
git pull origin

git log --grep HIVE-18920

git format-patch -1 de61102e0c5ef6fd093a5aef97df0f8d2427d39e // -1 将当前commit生成一个patch文件

git switch emr-2.3.7

git pull origin

git apply --check 0001-HIVE-18920-CBO-Initialize-the-Janino-providers-ahead.patch

这一步有冲突还得解决

git apply 0001-HIVE-18920-CBO-Initialize-the-Janino-providers-ahead.patch

git commit

git push

你可能感兴趣的:(记一次hive打patch的过程)