Skip to content

[SPARK-51516][SQL] Support TIME by the Thrift server#51365

Closed
MaxGekk wants to merge 1 commit into
apache:masterfrom
MaxGekk:fix-time-ThriftServerQueryTestSuite
Closed

[SPARK-51516][SQL] Support TIME by the Thrift server#51365
MaxGekk wants to merge 1 commit into
apache:masterfrom
MaxGekk:fix-time-ThriftServerQueryTestSuite

Conversation

@MaxGekk
Copy link
Copy Markdown
Member

@MaxGekk MaxGekk commented Jul 3, 2025

What changes were proposed in this pull request?

In the PR, I propose to convert TIME values to TypeId.STRING_TYPE because hive's Thrift server doesn't support any time type. And enable time.sql in the test suite ThriftServerQueryTestSuite.

Why are the changes needed?

To extend test coverage, and check TIME in Thrift server tests.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running affected test suites:

$ build/sbt -Phive-thriftserver "hive-thriftserver/testOnly org.apache.spark.sql.hive.thriftserver.ThriftServerQueryTestSuite -- -z time.sql"

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

No.

@github-actions github-actions Bot added the SQL label Jul 3, 2025
@MaxGekk MaxGekk changed the title [WIP][SQL] Support TIME by the Thrift server [WIP][SPARK-51516][SQL] Support TIME by the Thrift server Jul 3, 2025
@MaxGekk MaxGekk changed the title [WIP][SPARK-51516][SQL] Support TIME by the Thrift server [SPARK-51516][SQL] Support TIME by the Thrift server Jul 3, 2025
@MaxGekk MaxGekk marked this pull request as ready for review July 3, 2025 14:53
@MaxGekk MaxGekk requested a review from yaooqinn July 3, 2025 14:53
@MaxGekk
Copy link
Copy Markdown
Member Author

MaxGekk commented Jul 3, 2025

Merging to master. Thank you, @yaooqinn for review.

@MaxGekk MaxGekk closed this in b1a9158 Jul 3, 2025
Copy link
Copy Markdown
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.

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