spark-unified/README.md
This module contains the final, published delta-spark JAR that unifies both:
DeltaLog for Delta supportThe unified module provides single entry points for both V1 and V2:
DeltaCatalog: Extends AbstractDeltaCatalog from the spark moduleDeltaSparkSessionExtension: Extends AbstractDeltaSparkSessionExtension from the spark modulespark-unified/ (This module - final published artifact)
├── src/main/java/
│ └── org.apache.spark.sql.delta.catalog.DeltaCatalog.java
└── src/main/scala/
└── io.delta.sql.DeltaSparkSessionExtension.scala
spark/ (sparkV1 - V1 implementation)
├── Core Delta Lake classes with DeltaLog
├── AbstractDeltaCatalog, AbstractDeltaSparkSessionExtension
└── v2/ (sparkV2 - V2 implementation)
└── Kernel-backed DSv2 connector
spark/): Contains production code for the V1 connector using DeltaLogspark-v1-shaded/): Filtered version of V1 excluding DeltaLog, Snapshot, OptimisticTransaction, and actions.scalaspark/v2/): Kernel-backed V2 connector that depends on sparkV1FilteredThe final JAR includes:
Internal modules (not published to Maven):
delta-spark-v1delta-spark-v1-filtereddelta-spark-v2Published module:
delta-spark (this module) - contains merged classes from all internal modulesThe module automatically:
Tests are located in spark/src/test/ and run against the combined JAR to ensure V1+V2 integration works correctly.