File tree Expand file tree Collapse file tree 8 files changed +11
-13
lines changed
catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions
core/src/test/resources/sql-tests/results Expand file tree Collapse file tree 8 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 75
75
<version >${project.version} </version >
76
76
</dependency >
77
77
78
- <!--
79
- Because we don't shade dependencies anymore, we need to restore Guava to compile scope so
80
- that the libraries Spark depend on have it available. We'll package the version that Spark
81
- uses (14.0.1) which is not the same as Hadoop dependencies, but works.
82
- -->
78
+ <!-- Restore Guava to compile scope so that the libraries Spark depend on have it available -->
83
79
<dependency >
84
80
<groupId >com.google.guava</groupId >
85
81
<artifactId >guava</artifactId >
Original file line number Diff line number Diff line change 546
546
<include >org.eclipse.jetty:jetty-util</include >
547
547
<include >org.eclipse.jetty:jetty-server</include >
548
548
<include >com.google.guava:guava</include >
549
+ <include >com.google.guava:failureaccess</include >
549
550
<include >com.google.protobuf:*</include >
550
551
</includes >
551
552
</artifactSet >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ OLD_VERSION=$($MVN -q \
49
49
--non-recursive \
50
50
org.codehaus.mojo:exec-maven-plugin:1.6.0:exec | grep -E ' [0-9]+\.[0-9]+\.[0-9]+' )
51
51
# dependency:get for guava and jetty-io are workaround for SPARK-37302.
52
- GUAVA_VERSION=$( build/mvn help:evaluate -Dexpression=guava.version -q -DforceStdout | grep -E " ^[0-9.]+$ " )
52
+ GUAVA_VERSION=$( build/mvn help:evaluate -Dexpression=guava.version -q -DforceStdout | grep -E " ^[0-9\ .]+" )
53
53
build/mvn dependency:get -Dartifact=com.google.guava:guava:${GUAVA_VERSION} -q
54
54
JETTY_VERSION=$( build/mvn help:evaluate -Dexpression=jetty.version -q -DforceStdout | grep -E " [0-9]+\.[0-9]+\.[0-9]+" )
55
55
build/mvn dependency:get -Dartifact=org.eclipse.jetty:jetty-io:${JETTY_VERSION} -q
Original file line number Diff line number Diff line change 197
197
<!-- org.apache.commons/commons-pool2/-->
198
198
<commons-pool2 .version>2.12.0</commons-pool2 .version>
199
199
<datanucleus-core .version>4.1.17</datanucleus-core .version>
200
- <guava .version>14.0.1 </guava .version>
200
+ <guava .version>33.1.0-jre </guava .version>
201
201
<janino .version>3.1.9</janino .version>
202
202
<jersey .version>3.0.12</jersey .version>
203
203
<joda .version>2.12.7</joda .version>
3446
3446
<includes >
3447
3447
<include >org.spark-project.spark:unused</include >
3448
3448
<include >com.google.guava:guava</include >
3449
+ <include >com.google.guava:failureaccess</include >
3449
3450
<include >org.jpmml:*</include >
3450
3451
</includes >
3451
3452
</artifactSet >
Original file line number Diff line number Diff line change @@ -1052,7 +1052,7 @@ object KubernetesIntegrationTests {
1052
1052
* Overrides to work around sbt's dependency resolution being different from Maven's.
1053
1053
*/
1054
1054
object DependencyOverrides {
1055
- lazy val guavaVersion = sys.props.get(" guava.version" ).getOrElse(" 14.0.1 " )
1055
+ lazy val guavaVersion = sys.props.get(" guava.version" ).getOrElse(" 33.1.0-jre " )
1056
1056
lazy val settings = Seq (
1057
1057
dependencyOverrides += " com.google.guava" % " guava" % guavaVersion,
1058
1058
dependencyOverrides += " xerces" % " xercesImpl" % " 2.12.2" ,
Original file line number Diff line number Diff line change @@ -341,7 +341,7 @@ class IntervalExpressionsSuite extends SparkFunSuite with ExpressionEvalHelper {
341
341
342
342
Seq (
343
343
(Period .ofMonths(2 ), Int .MaxValue ) -> " overflow" ,
344
- (Period .ofMonths(Int .MinValue ), 10d ) -> " not in range" ,
344
+ (Period .ofMonths(Int .MinValue ), 10d ) -> " out of range" ,
345
345
(Period .ofMonths(- 100 ), Float .NaN ) -> " input is infinite or NaN" ,
346
346
(Period .ofMonths(200 ), Double .PositiveInfinity ) -> " input is infinite or NaN" ,
347
347
(Period .ofMonths(- 200 ), Float .NegativeInfinity ) -> " input is infinite or NaN"
Original file line number Diff line number Diff line change @@ -2866,7 +2866,7 @@ SELECT (INTERVAL '-178956970-8' YEAR TO MONTH) / -1.0D
2866
2866
struct<>
2867
2867
-- !query output
2868
2868
java.lang.ArithmeticException
2869
- not in range
2869
+ rounded value is out of range for input 2.147483648E9 and rounding mode HALF_UP
2870
2870
2871
2871
2872
2872
-- !query
@@ -2946,7 +2946,7 @@ SELECT (INTERVAL '-106751991 04:00:54.775808' DAY TO SECOND) / -1.0D
2946
2946
struct<>
2947
2947
-- !query output
2948
2948
java.lang.ArithmeticException
2949
- not in range
2949
+ rounded value is out of range for input 9.223372036854776E18 and rounding mode HALF_UP
2950
2950
2951
2951
2952
2952
-- !query
Original file line number Diff line number Diff line change @@ -2679,7 +2679,7 @@ SELECT (INTERVAL '-178956970-8' YEAR TO MONTH) / -1.0D
2679
2679
struct<>
2680
2680
-- !query output
2681
2681
java.lang.ArithmeticException
2682
- not in range
2682
+ rounded value is out of range for input 2.147483648E9 and rounding mode HALF_UP
2683
2683
2684
2684
2685
2685
-- !query
@@ -2759,7 +2759,7 @@ SELECT (INTERVAL '-106751991 04:00:54.775808' DAY TO SECOND) / -1.0D
2759
2759
struct<>
2760
2760
-- !query output
2761
2761
java.lang.ArithmeticException
2762
- not in range
2762
+ rounded value is out of range for input 9.223372036854776E18 and rounding mode HALF_UP
2763
2763
2764
2764
2765
2765
-- !query
You can’t perform that action at this time.
0 commit comments