Skip to content

Conversation

@viirya
Copy link
Member

@viirya viirya commented Jan 15, 2020

What changes were proposed in this pull request?

Based on the comment, this patch changes the SQL config name from spark.sql.truncateTable.ignorePermissionAcl to spark.sql.truncateTable.ignorePermissionAcl.enabled.

Why are the changes needed?

Make this config consistent other SQL configs.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Unit test.

@viirya
Copy link
Member Author

viirya commented Jan 15, 2020

cc @dongjoon-hyun @gatorsmile

@SparkQA
Copy link

SparkQA commented Jan 15, 2020

Test build #116750 has finished for PR 27210 at commit 2e16ebb.

  • This patch fails due to an unknown error code, -9.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon
Copy link
Member

retest this please

@SparkQA
Copy link

SparkQA commented Jan 15, 2020

Test build #116773 has finished for PR 27210 at commit 2e16ebb.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@viirya
Copy link
Member Author

viirya commented Jan 15, 2020

@dongjoon-hyun Do you have some comment on this change? If not, I will merge this.

@viirya
Copy link
Member Author

viirya commented Jan 15, 2020

@dongjoon-hyun I found you cut v2.4.5-rc1 already. If this goes into master/2.4, then you need to cut rc2?

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

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

+1, LGTM. Thank you, @viirya and @HyukjinKwon .
Merged to master/2.4.

Yes. I'm planning to cut RC2 on next Monday.

@dongjoon-hyun dongjoon-hyun changed the title [SPARK-30312][SQL][FOLLOWUP] Preserve path permission and acl when truncate table [SPARK-30312][SQL][FOLLOWUP] Rename conf by adding .enabled Jan 16, 2020
dongjoon-hyun pushed a commit that referenced this pull request Jan 16, 2020
Based on the [comment](#26956 (comment)), this patch changes the SQL config name from `spark.sql.truncateTable.ignorePermissionAcl` to `spark.sql.truncateTable.ignorePermissionAcl.enabled`.

Make this config consistent other SQL configs.

No.

Unit test.

Closes #27210 from viirya/truncate-table-permission-followup.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit be4d825)
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@viirya viirya deleted the truncate-table-permission-followup branch December 27, 2023 18:38
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.

4 participants