Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8799de5
[SPARK-52617][SQL]Cast TIME to/from TIMESTAMP_NTZ
subham611 Jul 5, 2025
c37bbf0
Adds time to TimestampNTZType conversion
subham611 Jul 5, 2025
352aacb
Fix linting
subham611 Jul 5, 2025
7faed87
Remove unused import
subham611 Jul 5, 2025
11c3a26
Adds can cast
subham611 Jul 5, 2025
4be2758
Fix import
subham611 Jul 5, 2025
e020fae
Resolved ambiguous import
subham611 Jul 5, 2025
5b9a10e
Fix UT failure
subham611 Jul 5, 2025
d6f4424
Enable casting in ansi mode
subham611 Jul 5, 2025
f60c6cb
Calculate current day outside buildCast
subham611 Jul 5, 2025
828d214
Adds RewriteTimeCastToTimestampNTZ rule
subham611 Jul 6, 2025
90482d6
Fix additional change
subham611 Jul 6, 2025
a9d1bdd
Fix unused import
subham611 Jul 6, 2025
fdc9b92
Fix UT
subham611 Jul 6, 2025
b919e4e
Fix UT failure
subham611 Jul 6, 2025
e2ef8af
Fix UT
subham611 Jul 7, 2025
0bada28
Fix UT
subham611 Jul 7, 2025
2a5e9ad
Move to resolver
subham611 Jul 7, 2025
7d77c1f
Revert unwanted changes
subham611 Jul 7, 2025
cb6ad55
Resolve comment
subham611 Jul 7, 2025
cd503a5
Delete resolver
subham611 Jul 7, 2025
8bc58da
Fix import
subham611 Jul 7, 2025
8a30b2a
Add back RewriteTimeCastToTimestampNTZ rule
subham611 Jul 8, 2025
fd1aef3
Fix UT
subham611 Jul 8, 2025
5c6c97f
Resolve comments
subham611 Jul 8, 2025
6169ea4
Update sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/anal…
SubhamSinghal Jul 8, 2025
29ca860
Update sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util…
SubhamSinghal Jul 8, 2025
011b254
Merge master
subham611 Jul 8, 2025
ca02825
Resolve comments
subham611 Jul 8, 2025
72bb9b5
remove new line
subham611 Jul 8, 2025
68f0c98
Fix lint
subham611 Jul 8, 2025
6b5ed62
Lint fix
subham611 Jul 8, 2025
e53bfe3
Modify rule
subham611 Jul 8, 2025
b488aae
Rewrite rule
subham611 Jul 8, 2025
867967e
Fix import order
subham611 Jul 8, 2025
ebf16ed
Adds codegen
subham611 Jul 9, 2025
58c0bea
Fix UT
subham611 Jul 9, 2025
b82e21c
Resolve comment
subham611 Jul 10, 2025
4239bef
Lint fix
subham611 Jul 10, 2025
fd5e76e
Adds type coersion rule
subham611 Jul 10, 2025
89dfef0
Resolve merge conflict
subham611 Jul 16, 2025
68dc4a9
Update nanos in a day function
subham611 Jul 16, 2025
76abdaf
Merge master
subham611 Jul 18, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert unwanted changes
  • Loading branch information
subham611 committed Jul 7, 2025
commit 7d77c1f43f160d6868a2d76a61b2a16fa76cee3b
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@

package org.apache.spark.sql.catalyst.analysis.resolver

import org.apache.spark.sql.catalyst.expressions.{Cast, DefaultStringProducingExpression, Expression, TimeZoneAwareExpression}
import org.apache.spark.sql.catalyst.expressions.{
Cast,
DefaultStringProducingExpression,
Expression,
TimeZoneAwareExpression
}
import org.apache.spark.sql.types.StringType

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import java.sql.{Date, Timestamp}
import java.time.{Duration, LocalDate, LocalDateTime, LocalTime, Period}
import java.time.temporal.ChronoUnit
import java.util.{Calendar, Locale, TimeZone}

import org.apache.spark.{SparkFunSuite, SparkIllegalArgumentException}
import org.apache.spark.sql.Row
import org.apache.spark.sql.catalyst.InternalRow
Expand Down