Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INFRA] [DO NOT MERGE] Test publishing against Spark 4 #3100

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

scottsand-db
Copy link
Collaborator

@scottsand-db scottsand-db commented May 15, 2024

Publishing ✅

  • set JAVA_HOME to JDK 17
  • build/sbt publishM2 only runs for, and does succeeds for, Scala 2.13

Delta Spark ✅

# First, publish using JDK 17 and instructions above

pip install https://dist.apache.org/repos/dist/dev/spark/v4.0.0-preview1-rc1-bin/pyspark-4.0.0.dev1.tar.gz

pyspark --jars /Users/scott.sandre/.m2/repository/io/delta/delta-spark_2.13/3.2.1-SNAPSHOT/delta-spark_2.13-3.2.1-SNAPSHOT.jar,/Users/scott.sandre/.m2/repository/io/delta/delta-storage/3.2.1-SNAPSHOT/delta-storage-3.2.1-SNAPSHOT.jar --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

Delta Kernel ✅

# First, publish using JDK 17 and instructions above
# Then, comment out `clear_artifact_cache` in `run-kernel-examples.py`
# Then, Set JAVA_HOME to JDK 8
./kernel/examples/run-kernel-examples.py --version 3.2.1-SNAPSHOT

@scottsand-db scottsand-db force-pushed the delta_spark_4_preview_release_infra_test branch from 0507e1d to 94d3671 Compare May 15, 2024 21:10
@scottsand-db scottsand-db force-pushed the delta_spark_4_preview_release_infra_test branch from 94d3671 to 189cd5b Compare May 16, 2024 16:30
@@ -762,7 +762,7 @@ class SnapshotManagerSuite extends AnyFunSuite with MockFileSystemClientUtils {
.take(4)
val deltas = deltaFileStatuses(10L to 13L)
testExpectedError[RuntimeException](
corruptedCheckpointStatuses ++ deltas,
corruptedCheckpointStatuses.toSeq ++ deltas,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.toSeq to fix unidoc generation errors

@scottsand-db scottsand-db force-pushed the delta_spark_4_preview_release_infra_test branch from d83f193 to e4e45d9 Compare May 16, 2024 22:05
@scottsand-db scottsand-db force-pushed the delta_spark_4_preview_release_infra_test branch from e4e45d9 to 07e53fb Compare May 16, 2024 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant