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 7575 <version >${project.version} </version >
7676 </dependency >
7777
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 -->
8379 <dependency >
8480 <groupId >com.google.guava</groupId >
8581 <artifactId >guava</artifactId >
Original file line number Diff line number Diff line change 546546 <include >org.eclipse.jetty:jetty-util</include >
547547 <include >org.eclipse.jetty:jetty-server</include >
548548 <include >com.google.guava:guava</include >
549+ <include >com.google.guava:failureaccess</include >
549550 <include >com.google.protobuf:*</include >
550551 </includes >
551552 </artifactSet >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ OLD_VERSION=$($MVN -q \
4949 --non-recursive \
5050 org.codehaus.mojo:exec-maven-plugin:1.6.0:exec | grep -E ' [0-9]+\.[0-9]+\.[0-9]+' )
5151# 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\ .]+" )
5353build/mvn dependency:get -Dartifact=com.google.guava:guava:${GUAVA_VERSION} -q
5454JETTY_VERSION=$( build/mvn help:evaluate -Dexpression=jetty.version -q -DforceStdout | grep -E " [0-9]+\.[0-9]+\.[0-9]+" )
5555build/mvn dependency:get -Dartifact=org.eclipse.jetty:jetty-io:${JETTY_VERSION} -q
Original file line number Diff line number Diff line change 197197 <!-- org.apache.commons/commons-pool2/-->
198198 <commons-pool2 .version>2.12.0</commons-pool2 .version>
199199 <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>
201201 <janino .version>3.1.9</janino .version>
202202 <jersey .version>3.0.12</jersey .version>
203203 <joda .version>2.12.7</joda .version>
34463446 <includes >
34473447 <include >org.spark-project.spark:unused</include >
34483448 <include >com.google.guava:guava</include >
3449+ <include >com.google.guava:failureaccess</include >
34493450 <include >org.jpmml:*</include >
34503451 </includes >
34513452 </artifactSet >
Original file line number Diff line number Diff line change @@ -1052,7 +1052,7 @@ object KubernetesIntegrationTests {
10521052 * Overrides to work around sbt's dependency resolution being different from Maven's.
10531053 */
10541054object 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 " )
10561056 lazy val settings = Seq (
10571057 dependencyOverrides += " com.google.guava" % " guava" % guavaVersion,
10581058 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 {
341341
342342 Seq (
343343 (Period .ofMonths(2 ), Int .MaxValue ) -> " overflow" ,
344- (Period .ofMonths(Int .MinValue ), 10d ) -> " not in range" ,
344+ (Period .ofMonths(Int .MinValue ), 10d ) -> " out of range" ,
345345 (Period .ofMonths(- 100 ), Float .NaN ) -> " input is infinite or NaN" ,
346346 (Period .ofMonths(200 ), Double .PositiveInfinity ) -> " input is infinite or NaN" ,
347347 (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
28662866struct<>
28672867-- !query output
28682868java.lang.ArithmeticException
2869- not in range
2869+ rounded value is out of range for input 2.147483648E9 and rounding mode HALF_UP
28702870
28712871
28722872-- !query
@@ -2946,7 +2946,7 @@ SELECT (INTERVAL '-106751991 04:00:54.775808' DAY TO SECOND) / -1.0D
29462946struct<>
29472947-- !query output
29482948java.lang.ArithmeticException
2949- not in range
2949+ rounded value is out of range for input 9.223372036854776E18 and rounding mode HALF_UP
29502950
29512951
29522952-- !query
Original file line number Diff line number Diff line change @@ -2679,7 +2679,7 @@ SELECT (INTERVAL '-178956970-8' YEAR TO MONTH) / -1.0D
26792679struct<>
26802680-- !query output
26812681java.lang.ArithmeticException
2682- not in range
2682+ rounded value is out of range for input 2.147483648E9 and rounding mode HALF_UP
26832683
26842684
26852685-- !query
@@ -2759,7 +2759,7 @@ SELECT (INTERVAL '-106751991 04:00:54.775808' DAY TO SECOND) / -1.0D
27592759struct<>
27602760-- !query output
27612761java.lang.ArithmeticException
2762- not in range
2762+ rounded value is out of range for input 9.223372036854776E18 and rounding mode HALF_UP
27632763
27642764
27652765-- !query
You can’t perform that action at this time.
0 commit comments