[SPARK-51414][SQL] Add the make_time() function#50269
[SPARK-51414][SQL] Add the make_time() function#50269robreeves wants to merge 78 commits intoapache:masterfrom
Conversation
|
@MaxGekk this is ready for review |
|
These test failures don't look related to my changes. I'm rerunning them. |
|
This test failure will be fixed by #50282 |
|
@MaxGekk this is ready for review again |
MaxGekk
left a comment
There was a problem hiding this comment.
@robreeves Could you add a couple of end-to-end tests to
spark/sql/core/src/test/resources/sql-tests/inputs/time.sql
Lines 1 to 20 in adc42b4
LGTM in general. Please, resolve conflicts.
|
+1, LGTM. Merging to master. |
|
@robreeves Congratulations with your first contribution to Apache Spark! |
|
@MaxGekk thanks for the reviews! This wasn't my first contribution to Spark, but was my first change in the SQL layer. |
|
@robreeves There is a list of contributors of Apache Spark in JIRA. You wasn't in the list for some reasons (I guess, a previous committer forgot to add you). Now you are in the list. |
What changes were proposed in this pull request?
This adds a new function
make_timefor the new time datatype. A new functionMakeTimeis added and some logic was refactored out ofMakeTimestampto be shared with the new function.Why are the changes needed?
This is needed to create time data type objects.
Does this PR introduce any user-facing change?
Yes, a new function
make_timeis added.How was this patch tested?
New unit tests and manually spark-shell testing.
Was this patch authored or co-authored using generative AI tooling?
No