apache / incubator-xtable

Apache XTable (incubating) is a cross-table converter for lakehouse table formats that facilitates interoperability across data processing systems and query engines.
https://xtable.apache.org/
Apache License 2.0
919 stars 147 forks source link

xtable has scala jar dependencies - should you suffix your jar names with the scala version? #529

Closed pjfanning closed 1 month ago

pjfanning commented 2 months ago

Feature Request / Improvement

I'm an IPMC member looking at your probably invalid 0.1.0 release. I noticed in your xtable-core pom that you have a dependency on jackson-module-scala_2.12 - what if you want to support Scala 2.13? The Scala norm is that you should release a jar called xtable-core_2.12 and then possibly also an xtable-core_2.13 jar.

https://repository.apache.org/content/groups/staging/org/apache/xtable/xtable-core/0.1.0-incubating/xtable-core-0.1.0-incubating.pom

Are you willing to submit PR?

Code of Conduct

rangareddy commented 2 months ago

Hi @pjfanning / @vinishjail97

I attempted to implement this pull request, but encountered an incompatibility with Hudi and Scala 2.13. What are the recommended steps to proceed in this situation?

[ERROR] Failed to execute goal on project xtable-core: Could not resolve dependencies for project org.apache.xtable:xtable-core:jar:0.2.0-SNAPSHOT: Could not find artifact org.apache.hudi:hudi-spark3.4-bundle_2.13:jar:0.14.0 in Maven Central (https://repo.maven.apache.org/maven2) -> [Help 1]

Reference:

CC: @kywe665 @bhasudha

vinishjail97 commented 2 months ago

That can happen because of Spark and Scala version compatibility, can you share what were you trying to do ?

pjfanning commented 2 months ago
pjfanning commented 2 months ago

Apache Hudi open issues for Scala 2.13

https://github.com/apache/hudi/issues?q=is%3Aissue+is%3Aopen+scala+2.13