asfgit closed pull request #23459: [SPARK-26541][BUILD] Add
`-Pdocker-integration-tests` to `dev/scalastyle`
URL: https://github.com/apache/spark/pull/23459
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/dev/scalastyle b/dev/scalastyle
index 2d6ee0da1d4c1..ff6dba5b536a8 100755
--- a/dev/scalastyle
+++ b/dev/scalastyle
@@ -28,6 +28,7 @@ ERRORS=$(echo -e "q\n" \
-Phive \
-Phive-thriftserver \
-Pspark-ganglia-lgpl \
+ -Pdocker-integration-tests \
scalastyle test:scalastyle \
| awk '{if($1~/error/)print}' \
)
diff --git
a/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/OracleIntegrationSuite.scala
b/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/OracleIntegrationSuite.scala
index 70d294d0ca650..79fdf9c2ba434 100644
---
a/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/OracleIntegrationSuite.scala
+++
b/external/docker-integration-tests/src/test/scala/org/apache/spark/sql/jdbc/OracleIntegrationSuite.scala
@@ -154,7 +154,7 @@ class OracleIntegrationSuite extends
DockerJDBCIntegrationSuite with SharedSQLCo
// A value with fractions from DECIMAL(3, 2) is correct:
assert(row.getDecimal(1).compareTo(BigDecimal.valueOf(1.23)) == 0)
// A value > Int.MaxValue from DECIMAL(10) is correct:
- assert(row.getDecimal(2).compareTo(BigDecimal.valueOf(9999999999l)) == 0)
+ assert(row.getDecimal(2).compareTo(BigDecimal.valueOf(9999999999L)) == 0)
}
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]