Skip to content

Commit

Permalink
[SPARK-48626][CORE] Change the scope of object LogKeys as private in …
Browse files Browse the repository at this point in the history
…Spark

### What changes were proposed in this pull request?

Change the scope of object LogKeys as private in Spark.
### Why are the changes needed?

LogKeys are internal and developing. Making it private can avoid future confusion or compiling failures.
This is suggested by pan3793 in #46947 (comment)
### Does this PR introduce _any_ user-facing change?

No
### How was this patch tested?

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

No

Closes #46983 from gengliangwang/changeScope.

Authored-by: Gengliang Wang <[email protected]>
Signed-off-by: yangjie01 <[email protected]>
  • Loading branch information
gengliangwang authored and LuciferYang committed Jun 14, 2024
1 parent 3831886 commit 878de00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ trait LogKey {
* Various keys used for mapped diagnostic contexts(MDC) in logging. All structured logging keys
* should be defined here for standardization.
*/
object LogKeys {
private[spark] object LogKeys {
case object ACCUMULATOR_ID extends LogKey
case object ACL_ENABLED extends LogKey
case object ACTUAL_NUM_FILES extends LogKey
Expand Down

0 comments on commit 878de00

Please sign in to comment.