Skip to content

[SPARK-57719][SQL][TESTS] Move IdentifierClauseParserSuite to the catalyst parser package#56813

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

[SPARK-57719][SQL][TESTS] Move IdentifierClauseParserSuite to the catalyst parser package#56813
dongjoon-hyun wants to merge 1 commit into
apache:masterfrom
dongjoon-hyun:SPARK-57719

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 IdentifierClauseParserSuite to org.apache.spark.sql.catalyst.parser (sql/catalyst) so its directory and package match.

Why are the changes needed?

This file was introduced at Spark 4.1.1 by the following.

The suite is a Catalyst-level parser test (extends AnalysisTest, uses CatalystSqlParser) with no sql/core dependency, but it was placed under execution/command while declaring the top-level org.apache.spark.sql package. It's weird. Moving it next to the sibling parser suites fixes the directory/package mismatch.

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 dongjoon-hyun changed the title [SPARK-57719] Move IdentifierClauseParserSuite to the catalyst parser package [SPARK-57719][SQL][TESTS] Move IdentifierClauseParserSuite to the catalyst parser package Jun 26, 2026
@dongjoon-hyun

Copy link
Copy Markdown
Member Author

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Could you review this test case PR when you have some time, @uros-b ?

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you @dongjoon-hyun!

@dongjoon-hyun

Copy link
Copy Markdown
Member Author

Thank you, @uros-b !

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

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

This PR moves `IdentifierClauseParserSuite` to `org.apache.spark.sql.catalyst.parser` (`sql/catalyst`) so its directory and package match.

### Why are the changes needed?

This file was introduced at Spark 4.1.1 by the following.
- #53407

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/test/scala/org/apache/spark/sql/execution/command/IdentifierClauseParserSuite.scala#L18-L18

The suite is a Catalyst-level parser test (extends `AnalysisTest`, uses `CatalystSqlParser`) with no `sql/core` dependency, but it was placed under `execution/command` while declaring the top-level `org.apache.spark.sql` package. It's weird. Moving it next to the sibling parser suites fixes the directory/package mismatch.

### 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

Closes #56813 from dongjoon-hyun/SPARK-57719.

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

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

This PR moves `IdentifierClauseParserSuite` to `org.apache.spark.sql.catalyst.parser` (`sql/catalyst`) so its directory and package match.

### Why are the changes needed?

This file was introduced at Spark 4.1.1 by the following.
- #53407

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/test/scala/org/apache/spark/sql/execution/command/IdentifierClauseParserSuite.scala#L18-L18

The suite is a Catalyst-level parser test (extends `AnalysisTest`, uses `CatalystSqlParser`) with no `sql/core` dependency, but it was placed under `execution/command` while declaring the top-level `org.apache.spark.sql` package. It's weird. Moving it next to the sibling parser suites fixes the directory/package mismatch.

### 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

Closes #56813 from dongjoon-hyun/SPARK-57719.

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

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

This PR moves `IdentifierClauseParserSuite` to `org.apache.spark.sql.catalyst.parser` (`sql/catalyst`) so its directory and package match.

### Why are the changes needed?

This file was introduced at Spark 4.1.1 by the following.
- #53407

https://github.com/apache/spark/blob/688064e691a63a44075dee769eb07ceed19068f6/sql/core/src/test/scala/org/apache/spark/sql/execution/command/IdentifierClauseParserSuite.scala#L18-L18

The suite is a Catalyst-level parser test (extends `AnalysisTest`, uses `CatalystSqlParser`) with no `sql/core` dependency, but it was placed under `execution/command` while declaring the top-level `org.apache.spark.sql` package. It's weird. Moving it next to the sibling parser suites fixes the directory/package mismatch.

### 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

Closes #56813 from dongjoon-hyun/SPARK-57719.

Authored-by: Dongjoon Hyun <dongjoon@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 1409070)
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-57719 branch June 26, 2026 15:50
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