This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NSE-359] [NSE-273] Introduce shim layer to fix compatibility issues …
…for gazelle on spark 3.1 & 3.2 (#742) * Initial commit * Add withNewChildInternal & withNewChildrenInternal for spark 3.2 compatibility * Fix compatibility issues for ParquetFileFormat, etc. * Fix compatibility issue for ColumnarBatchScanExec * Fix compatibility issues for ColumnarBroadcastHashJoinExec * Fix compatibility issues for ColumnarHashAggregateExec * Fix compatibility issues for ColumnarShuffledHashJoinExec, etc * Remove ColumnarScalarSubquery and the code where it is used, not relevant to spark 3.1/3.2 compatibility issues * Fix compatibility issues for ColumnarShuffleManager, etc. * Fix compatibility issues for ColumnarArrowPythonRunner etc. * Set different scala version for spark 3.1/3.2 * Fix compatibility issues for ColumnarCustomShuffleReaderExec.scala * Fix compatibility issues for ShuffledColumnarBatchRDD * Refactor the code to refix compatibility issues for ColumnarCustomShuffleReaderExec * Multipe fixes in match/case statements * Set jackson versions for different versions of spark * Fix compatibility issues caused by renaming CustomShuffleReaderExec to AQEShuffleReadExec * Small fixes * Fix compatibility issues for ReaderIterator * Move AdaptiveSparkPlanExec & MemoryStore under shim layer * Fix compatibility issues for ShufflePartitionUtils * Fix issues found in building * Fix cyclic dependency and import missing dependencies * Fix accessibility issues about IndexShuffleBlockResolver, BaseShuffleHandle & SortShuffleWriter * Fix dependency issue for ColumnarBatchScanExec * Fix compile issues in spark311 module * Fix compatibility issues for ReaderIterator * Move Utils.doFetchFile to specific package and do some code refactor * Make ColumnarBatchScanExec abstract to break the cyclic dependency * Use a more concise way to fix compatibility issue for OutputWriter * Add 3.1 or 3.2 shim layer dependency for NSE core module according to profile * Convert some child plan to expected type * Fix compile issues on spark 3.2.0 * Change the extension from ShuffledJoin to ColumnarShuffledJoin for ColumnarBHJ/SHJ * Remove useless code * Change spark version to 3.2.1 for profile spark-3.2 * Fix compatibility issues from spark 3.2.0 to 3.2.1 * Fix dependency issue for github action test * Put fully-qualified class name under resources/META-INF/services for spark3.2 shim
- Loading branch information
Showing
61 changed files
with
1,700 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.