Skip to content

Conversation

@zhengruifeng
Copy link
Contributor

@zhengruifeng zhengruifeng commented Jun 14, 2024

What changes were proposed in this pull request?

Make merge_spark_pr keep the format of revert PR

Why are the changes needed?

existing script format revert PR in this way:

Original: Revert "[SPARK-48591][PYTHON] Simplify the if-else branches with `F.lit`"
Modified: [SPARK-48591][PYTHON] Revert "[] Simplify the if-else branches with `F.lit`"

another example:

Revert "[SPARK-46937][SQL] Improve concurrency performance for FunctionRegistry"

was modified to

[SPARK-46937][SQL] Revert "[] Improve concurrency performance for FunctionRegistry"

see 82a84ed

Does this PR introduce any user-facing change?

no, infra-only

How was this patch tested?

manually test, let me use this script to merge some PR to check

Was this patch authored or co-authored using generative AI tooling?

No

@github-actions github-actions bot added the INFRA label Jun 14, 2024
@HyukjinKwon
Copy link
Member

HyukjinKwon commented Jun 17, 2024

Let's probably keep it as Revert "[SPARK-46937][SQL] Improve concurrency performance for FunctionRegistry" if possible. This is the git's default format.

@zhengruifeng
Copy link
Contributor Author

Let's probably keep it as Revert "[SPARK-46937][SQL] Improve concurrency performance for FunctionRegistry" if possible. This is the git's default format.

sounds good. For a revert PR, we don't need to format it

@zhengruifeng zhengruifeng changed the title [SPARK-48630][INFRA][WIP] Make merge_spark_pr properly format revert PR [SPARK-48630][INFRA][WIP] Make merge_spark_pr properly handle revert PR Jun 17, 2024
@zhengruifeng zhengruifeng force-pushed the fix_merge_spark_pr_for_revert branch from f5617fa to db30154 Compare June 17, 2024 07:49
@zhengruifeng zhengruifeng changed the title [SPARK-48630][INFRA][WIP] Make merge_spark_pr properly handle revert PR [SPARK-48630][INFRA] Make merge_spark_pr properly handle revert PR Jun 17, 2024
@zhengruifeng zhengruifeng marked this pull request as ready for review June 17, 2024 08:04
Copy link
Contributor

@allisonwang-db allisonwang-db left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we also update the PR description?

@zhengruifeng zhengruifeng changed the title [SPARK-48630][INFRA] Make merge_spark_pr properly handle revert PR [SPARK-48630][INFRA] Make merge_spark_pr keep the format of revert PR Jun 18, 2024
@zhengruifeng zhengruifeng force-pushed the fix_merge_spark_pr_for_revert branch from db30154 to eee0ed5 Compare June 20, 2024 07:59
@zhengruifeng
Copy link
Contributor Author

thanks, merged to master with this modified script

@zhengruifeng zhengruifeng deleted the fix_merge_spark_pr_for_revert branch June 21, 2024 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants