Skip to content

[SPARK-57720][SQL] Fix RealTimeModeAllowlist package to match its directory#56814

Closed
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-57720
Closed

[SPARK-57720][SQL] Fix RealTimeModeAllowlist package to match its directory#56814
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-57720

Conversation

@dongjoon-hyun

@dongjoon-hyun dongjoon-hyun commented Jun 26, 2026

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR moves the RealTimeModeAllowlist object into the org.apache.spark.sql.execution.streaming.runtime package so its package declaration matches its directory location.

- package org.apache.spark.sql.execution.streaming
+ package org.apache.spark.sql.execution.streaming.runtime

Why are the changes needed?

This was introduced at Apache Spark 4.1.0 via the following.

The file lives in the runtime/ directory but declared package org.apache.spark.sql.execution.streaming, unlike every other file in that directory. This aligns the package with the directory for consistency.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

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

Generated-by: Claude Opus 4.8

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

cc @jerrypeng

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Could you review this PR when you have some time, @viirya ?

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @viirya !

dongjoon-hyun added a commit that referenced this pull request Jun 26, 2026
…irectory

This PR moves the `RealTimeModeAllowlist` object into the `org.apache.spark.sql.execution.streaming.runtime` package so its package declaration matches its directory location.

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/RealTimeModeAllowlist.scala#L27

```
- package org.apache.spark.sql.execution.streaming
+ package org.apache.spark.sql.execution.streaming.runtime
```

This was introduced at Apache Spark 4.1.0 via the following.
- #52891

The file lives in the `runtime/` directory but declared `package org.apache.spark.sql.execution.streaming`, unlike every other file in that directory. This aligns the package with the directory for consistency.

No.

Pass the CIs.

Generated-by: Claude Opus 4.8

Closes #56814 from dongjoon-hyun/SPARK-57720.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 08bf0e7)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit b64e2e460c39537b6772e55882fbd1d0d9975f1f)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun added a commit that referenced this pull request Jun 26, 2026
…irectory

This PR moves the `RealTimeModeAllowlist` object into the `org.apache.spark.sql.execution.streaming.runtime` package so its package declaration matches its directory location.

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/RealTimeModeAllowlist.scala#L27

```
- package org.apache.spark.sql.execution.streaming
+ package org.apache.spark.sql.execution.streaming.runtime
```

This was introduced at Apache Spark 4.1.0 via the following.
- #52891

The file lives in the `runtime/` directory but declared `package org.apache.spark.sql.execution.streaming`, unlike every other file in that directory. This aligns the package with the directory for consistency.

No.

Pass the CIs.

Generated-by: Claude Opus 4.8

Closes #56814 from dongjoon-hyun/SPARK-57720.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 08bf0e7)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit b64e2e460c39537b6772e55882fbd1d0d9975f1f)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 7309da4)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
dongjoon-hyun added a commit that referenced this pull request Jun 26, 2026
…irectory

This PR moves the `RealTimeModeAllowlist` object into the `org.apache.spark.sql.execution.streaming.runtime` package so its package declaration matches its directory location.

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/runtime/RealTimeModeAllowlist.scala#L27

```
- package org.apache.spark.sql.execution.streaming
+ package org.apache.spark.sql.execution.streaming.runtime
```

This was introduced at Apache Spark 4.1.0 via the following.
- #52891

The file lives in the `runtime/` directory but declared `package org.apache.spark.sql.execution.streaming`, unlike every other file in that directory. This aligns the package with the directory for consistency.

No.

Pass the CIs.

Generated-by: Claude Opus 4.8

Closes #56814 from dongjoon-hyun/SPARK-57720.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 08bf0e7)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit b64e2e460c39537b6772e55882fbd1d0d9975f1f)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 7309da4)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 2b014d6)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Merged to master/4.x/4.2/4.1.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-57720 branch June 26, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants