Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
c78a347
WIP
hvanhovell Jul 25, 2023
0eb42c1
Fix conflicts
hvanhovell Jul 26, 2023
f648bef
Finish move of classes
hvanhovell Jul 26, 2023
be5b320
Fix legacy policy
hvanhovell Jul 26, 2023
c9fc20c
Remove ToJsonUtil
hvanhovell Jul 26, 2023
0b1b803
Add UDTUtilsImpl
hvanhovell Jul 26, 2023
783a1af
Fix stuff
hvanhovell Jul 26, 2023
4fa9124
Merge with master
hvanhovell Jul 26, 2023
4fc0e6d
Simplification & Fixes
hvanhovell Jul 26, 2023
65ea542
Disconnect Arrow encoders from Catalyst
hvanhovell Jul 26, 2023
b70413b
Disconnect Arrow encoders from Catalyst
hvanhovell Jul 26, 2023
67d1592
Fix proto functions
hvanhovell Jul 26, 2023
340304d
Fix proto functions
hvanhovell Jul 26, 2023
8ca1d2b
fix proto for real
hvanhovell Jul 26, 2023
4845456
Make tests compile!
hvanhovell Jul 26, 2023
42d8f0f
Capstone
hvanhovell Jul 26, 2023
69b8868
Fix compilation
hvanhovell Jul 26, 2023
1927189
Style
hvanhovell Jul 26, 2023
a4f3050
Fix formatting
hvanhovell Jul 27, 2023
ad78a8d
Merge branch 'SPARK-44538' into SPARK-41400-v1
hvanhovell Jul 27, 2023
9f10a8c
Merge remote-tracking branch 'apache/master' into SPARK-41400-v1
hvanhovell Jul 27, 2023
cc981b4
Integrate AnalyisException
hvanhovell Jul 27, 2023
bdd4346
Merge with master
hvanhovell Jul 27, 2023
2b8879d
Put back DateTimeUtils and enrich SparkDateTimeUtils.
hvanhovell Jul 27, 2023
d6a57a0
Merge remote-tracking branch 'apache/master' into SPARK-44538
hvanhovell Jul 27, 2023
e2b0dc4
Merge branch 'SPARK-44538' into SPARK-41400-v1
hvanhovell Jul 27, 2023
fcda03c
Put back string to/from bytebuffer
hvanhovell Jul 27, 2023
912f892
Undo change to RebaseDateTimeSuite
hvanhovell Jul 27, 2023
eeaa409
Undo change
hvanhovell Jul 27, 2023
30f3ce4
style...
hvanhovell Jul 28, 2023
6b53488
Merge branch 'SPARK-44538' into SPARK-41400-v1
hvanhovell Jul 28, 2023
470fed4
Merge remote-tracking branch 'apache/master' into SPARK-41400-v1
hvanhovell Jul 28, 2023
c81d847
Fix docs
hvanhovell Jul 28, 2023
064bc40
Merge remote-tracking branch 'apache/master' into SPARK-41400-v1
hvanhovell Jul 28, 2023
ace8fed
Weird Bug Fix
hvanhovell Jul 28, 2023
5c5aa60
Better fix
hvanhovell Jul 28, 2023
b7bc5c4
Fix MiMa
hvanhovell Jul 28, 2023
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
Undo change
  • Loading branch information
hvanhovell committed Jul 27, 2023
commit eeaa409e5f16b1e031518ffb83b50f85da0113e8
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,15 @@ private[sql] object DoubleExactNumeric extends DoubleIsFractional {
if (Math.floor(x) <= intUpperBound && Math.ceil(x) >= intLowerBound) {
x.toInt
} else {
throw QueryExecutionErrors.castingCauseOverflowError(
x, DoubleType, IntegerType)
throw QueryExecutionErrors.castingCauseOverflowError(x, DoubleType, IntegerType)
}
}

override def toLong(x: Double): Long = {
if (Math.floor(x) <= longUpperBound && Math.ceil(x) >= longLowerBound) {
x.toLong
} else {
throw QueryExecutionErrors.castingCauseOverflowError(
x, DoubleType, LongType)
throw QueryExecutionErrors.castingCauseOverflowError(x, DoubleType, LongType)
}
}

Expand Down