-
Notifications
You must be signed in to change notification settings - Fork 244
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
Add Databricks 14.3 Support [DO NOT MERGE] #11467
Closed
Closed
Changes from 16 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
0efcf6e
db 14.3
ed1abbf
release350db
1c83368
avro and parquet fix
04a85e4
more dependencies
razajafri 60cf190
avro dependecy
razajafri 6f9397f
move shims around
razajafri fdd4c03
More Shim changes
razajafri db70c02
upmerged
razajafri 4c547db
Signing off
razajafri 7c1ea3e
Fixed jar name in install deps
razajafri 799a909
updated Scala 2.13 pom
razajafri 8ea5a52
add a check for 3.5 in install_deps.py
razajafri a1df759
Removed unnecessary changes
razajafri 5eff73e
Removed PartitionedFileUtilsShim
razajafri 92c6f59
Updated PythonMapInArrowExec to MapInArrowExec
razajafri dafccf7
conf is private in sqlContext, use sessionState instead
razajafri 32131b8
Moved NullOutputStreamShim
razajafri 52d2418
sql-plugin building
razajafri 383225c
First batch of delta lake changes
razajafri 4fab4ba
Removed duplicate shims for 350db
razajafri 4884080
delta lake support changes
razajafri 413761f
More shims
razajafri 3da0dc3
delta-lake changes for release 350db
razajafri 62a3d90
Added ParquetCVShim and ShimParquetColumnVector
razajafri 6fc8835
Shims created, building 341db successfully
razajafri e904927
CudfUnsafeRow changes for 350db
razajafri 76c2fbc
Shim changes
razajafri f607d21
Removed the GpuOptimisticTransactionBase from common
razajafri 341fff8
Organized imports
razajafri 978778d
Reverted unnecessary change
razajafri 0ed0c53
Fixed 341db build by adding shim and referring to the right module
razajafri 1e690cf
Renamed ShimVectorizedColumnReader to RapidsVectorizedColumnReader to…
razajafri 394604c
Don't use native dictionary for 350db for now
razajafri ee946a5
Updated Scala2.13 poms
razajafri 9b68cd3
Fixed build for 340+
razajafri 5709d4a
Add support for the Databricks 14.3 pre-merge pipeline
NvTimLiu 8979789
Updated ShimServiceProvider to return the correct Shim version
razajafri 9274700
Use the correct shim for decimal multiplication
razajafri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,9 @@ def define_deps(spark_version, scala_version): | |
elif spark_version.startswith('3.4'): | ||
spark_prefix = '----ws_3_4' | ||
mvn_prefix = '--mvn' | ||
elif spark_version.startswith('3.5'): | ||
spark_prefix = '----ws_3_5' | ||
mvn_prefix = '--mvn' | ||
|
||
spark_suffix = f'hive-{hive_version}__hadoop-{hadoop_version}_{scala_version}' | ||
|
||
|
@@ -69,7 +72,7 @@ def define_deps(spark_version, scala_version): | |
Artifact('org.apache.spark', f'spark-core_{scala_version}', | ||
f'{spark_prefix}--core--core-{spark_suffix}_deploy.jar'), | ||
Artifact('org.apache.spark', f'spark-versions_{scala_version}', | ||
f'spark--versions--*--shim_{scala_version}_deploy.jar'), | ||
f'spark--versions--*--shim*_{scala_version}_deploy.jar'), | ||
Artifact('org.apache.spark', f'databricks-versions_{scala_version}', | ||
f'common--build-info--build-info-spark_*_{scala_version}_deploy.jar'), | ||
# Spark Hive Patches | ||
|
@@ -125,15 +128,15 @@ def define_deps(spark_version, scala_version): | |
Artifact('com.fasterxml.jackson.core', 'jackson-annotations', | ||
f'{prefix_ws_sp_mvn_hadoop}--com.fasterxml.jackson.core--jackson-annotations--com.fasterxml.jackson.core__jackson-annotations__*.jar'), | ||
Artifact('org.apache.spark', f'spark-avro_{scala_version}', | ||
f'{spark_prefix}--vendor--avro--avro-*.jar'), | ||
f'{prefix_ws_sp_mvn_hadoop}--org.apache.avro--avro--org.apache.avro*.jar'), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is it really an unconditional change |
||
Artifact('org.apache.avro', 'avro-mapred', | ||
f'{prefix_ws_sp_mvn_hadoop}--org.apache.avro--avro-mapred--org.apache.avro__avro-mapred__*.jar'), | ||
Artifact('org.apache.avro', 'avro', | ||
f'{prefix_ws_sp_mvn_hadoop}--org.apache.avro--avro--org.apache.avro__avro__*.jar'), | ||
] | ||
|
||
# Parquet | ||
if spark_version.startswith('3.4'): | ||
if spark_version.startswith('3.4') or spark_version.startswith('3.5'): | ||
deps += [ | ||
Artifact('org.apache.parquet', 'parquet-hadoop', | ||
f'{spark_prefix}--third_party--parquet-mr--parquet-hadoop--parquet-hadoop-shaded--*--libparquet-hadoop-internal.jar'), | ||
|
@@ -162,7 +165,7 @@ def define_deps(spark_version, scala_version): | |
|
||
|
||
# log4j-core | ||
if spark_version.startswith('3.3') or spark_version.startswith('3.4'): | ||
if spark_version.startswith('3.3') or spark_version.startswith('3.4') or spark_version.startswith('3.5'): | ||
deps += Artifact('org.apache.logging.log4j', 'log4j-core', | ||
f'{prefix_ws_sp_mvn_hadoop}--org.apache.logging.log4j--log4j-core--org.apache.logging.log4j__log4j-core__*.jar'), | ||
|
||
|
@@ -172,14 +175,20 @@ def define_deps(spark_version, scala_version): | |
f'{prefix_ws_sp_mvn_hadoop}--org.scala-lang.modules--scala-parser-combinators_{scala_version}-*.jar') | ||
] | ||
|
||
if spark_version.startswith('3.4'): | ||
if spark_version.startswith('3.4') or spark_version.startswith('3.5'): | ||
deps += [ | ||
# Spark Internal Logging | ||
Artifact('org.apache.spark', f'spark-common-utils_{scala_version}', f'{spark_prefix}--common--utils--common-utils-hive-2.3__hadoop-3.2_2.12_deploy.jar'), | ||
# Spark SQL API | ||
Artifact('org.apache.spark', f'spark-sql-api_{scala_version}', f'{spark_prefix}--sql--api--sql-api-hive-2.3__hadoop-3.2_2.12_deploy.jar') | ||
] | ||
|
||
if spark_version.startswith('3.5'): | ||
deps += [ | ||
Artifact('org.scala-lang.modules', f'scala-collection-compat_{scala_version}', | ||
f'{prefix_ws_sp_mvn_hadoop}--org.scala-lang.modules--scala-collection-compat_{scala_version}--org.scala-lang.modules__scala-collection-compat_{scala_version}__2.11.0.jar'), | ||
Artifact('org.apache.avro', f'avro-connector', f'{spark_prefix}--connector--avro--avro-hive-2.3__hadoop-3.2_2.12_shaded---606136534--avro-unshaded-hive-2.3__hadoop-3.2_2.12_deploy.jar') | ||
] | ||
|
||
return deps | ||
|
||
|
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: looks like a pretty stable pattern emerged for 3.3, 3.4, 3.5