wypoon commented on pull request #3415:
URL: https://github.com/apache/iceberg/pull/3415#issuecomment-955750278
```
% diff -r spark/v3.0 spark/v3.1
diff -r spark/v3.0/build.gradle spark/v3.1/build.gradle
21,23c21,23
< project(':iceberg-spark:iceberg-spark3'),
< project(":iceberg-spark:iceberg-spark3-extensions"),
< project(':iceberg-spark:iceberg-spark3-runtime')
---
> project(':iceberg-spark:iceberg-spark-3.1'),
> project(":iceberg-spark:iceberg-spark-3.1-extensions"),
> project(':iceberg-spark:iceberg-spark-3.1-runtime')
28c28
< sparkVersion = '3.0.3'
---
> sparkVersion = '3.1.2'
41c41
< project(':iceberg-spark:iceberg-spark3') {
---
> project(':iceberg-spark:iceberg-spark-3.1') {
106c106
< project(":iceberg-spark:iceberg-spark3-extensions") {
---
> project(":iceberg-spark:iceberg-spark-3.1-extensions") {
132,133c132
< compileOnly project(':iceberg-spark')
< compileOnly project(':iceberg-spark:iceberg-spark3')
---
> compileOnly project(':iceberg-spark:iceberg-spark-3.1')
146,147c145
< testImplementation project(path: ':iceberg-spark', configuration:
'testArtifacts')
< testImplementation project(path: ':iceberg-spark:iceberg-spark3',
configuration: 'testArtifacts')
---
> testImplementation project(path: ':iceberg-spark:iceberg-spark-3.1',
configuration: 'testArtifacts')
163c161
< project(':iceberg-spark:iceberg-spark3-runtime') {
---
> project(':iceberg-spark:iceberg-spark-3.1-runtime') {
197,198c195,196
< implementation project(':iceberg-spark:iceberg-spark3')
< implementation project(':iceberg-spark:iceberg-spark3-extensions')
---
> implementation project(':iceberg-spark:iceberg-spark-3.1')
> implementation project(':iceberg-spark:iceberg-spark-3.1-extensions')
209,211c207,208
< integrationImplementation project(path: ':iceberg-spark',
configuration: 'testArtifacts')
< integrationImplementation project(path:
':iceberg-spark:iceberg-spark3', configuration: 'testArtifacts')
< integrationImplementation project(path:
':iceberg-spark:iceberg-spark3-extensions', configuration: 'testArtifacts')
---
> integrationImplementation project(path:
':iceberg-spark:iceberg-spark-3.1', configuration: 'testArtifacts')
> integrationImplementation project(path:
':iceberg-spark:iceberg-spark-3.1-extensions', configuration: 'testArtifacts')
213,214c210,211
< integrationCompileOnly
project(':iceberg-spark:iceberg-spark3-extensions')
< integrationCompileOnly project(':iceberg-spark:iceberg-spark3')
---
> integrationCompileOnly
project(':iceberg-spark:iceberg-spark-3.1-extensions')
> integrationCompileOnly project(':iceberg-spark:iceberg-spark-3.1')
253c250
< description = "Test Spark3 Runtime Jar against Spark 3.0"
---
> description = "Test Spark3 Runtime Jar against Spark 3.1"
diff -r
spark/v3.0/spark/src/test/java/org/apache/iceberg/spark/data/TestSparkDateTimes.java
spark/v3.1/spark/src/test/java/org/apache/iceberg/spark/data/TestSparkDateTimes.java
72c72
< String sparkTimestamp = DateTimeUtils.timestampToString(formatter,
ts.value());
---
> String sparkTimestamp = formatter.format(ts.value());
iceberg %
```
I rebased on master and updated v3.1. The only difference between v3.0 and
v3.1 now is the build.gradle and TestSparkDateTimes.java. The change to the
latter is needed because `DateTimeUtils.timestampToString` is no longer in
Spark 3.1.
I also updated the CI.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]