Skip to content

[SPARK-57562][SQL] Add benchmarks for the TIME data type#56809

Draft
shrirangmhalgi wants to merge 2 commits into
apache:masterfrom
shrirangmhalgi:SPARK-57562-time-benchmarks
Draft

[SPARK-57562][SQL] Add benchmarks for the TIME data type#56809
shrirangmhalgi wants to merge 2 commits into
apache:masterfrom
shrirangmhalgi:SPARK-57562-time-benchmarks

Conversation

@shrirangmhalgi

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add TimeBenchmark covering TIME data type functions: current_time, make_time, to_time, hour/minute/second extraction, time_trunc, time_diff, TIME +/- interval, and LocalTime conversion/collection.

Why are the changes needed?

The SPIP (SPARK-51162, Q6) flagged performance regressions as the main risk. There was no TIME-specific benchmark until now.

Does this PR introduce any user-facing change?

No. Benchmark only.

How was this patch tested?

Benchmark runs successfully and results file are generated.

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

Co-Authored using Claude Opus 4.6

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

Add TimeBenchmark covering TIME data type functions: current_time, make_time, to_time, hour/minute/second extraction, time_trunc, time_diff, TIME +/- interval, and LocalTime conversion/collection.

### Why are the changes needed?

The SPIP (SPARK-51162, Q6) flagged performance regressions as the main risk. There was no TIME-specific benchmark until now.

### Does this PR introduce _any_ user-facing change?

No. Benchmark only.

### How was this patch tested?

Benchmark runs successfully and results file is generated.

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

Co-Authored using Claude Opus 4.6
@shrirangmhalgi shrirangmhalgi changed the title Add benchmarks for the TIME data type [SPARK-57562][SQL] Add benchmarks for the TIME data type Jun 26, 2026
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.

1 participant