Comments (3)
Hi @timshen24, yes we know. Try the "org.typelevel" %% "frameless-dataset-spark31" % "0.11.1"
dependency.
frameless-dataset
is published against Spark 3.2.x which is binary incompatible with 3.1.x; however, since frameless 0.11 we publish artifacts cross scala as well as cross Spark versioned; artifacts for previous Spark version have the -spark{major}{minor}
suffix. The mainline artifact for now would be always pointing to the most recent Spark version but we will try to publish it artifacts for the previous versions as well.
Check out the readme for more details https://github.com/typelevel/frameless#versions-and-dependencies. I will try to rewrite it in a way it is more obvious (: somewhere closer to the top
from frameless.
Thank you for the instant reply.
But setting libraryDependencies += "org.apache.spark" %% "spark-sql" % "3.2.0" libraryDependencies += "org.typelevel" %% "frameless-dataset" % "0.11.1"
still not works for me.
It will report compile error for not finding all SparkSession, DataFrame, DataSet class, etc.
libraryDependencies += "org.apache.spark" %% "spark-sql" % "3.1.2"
libraryDependencies += "org.typelevel" %% "frameless-dataset-spark31" % "0.11.1"
The above can work for me right now.
from frameless.
@timshen24 3.2.0 didn't work for you due to other libraries spark versions mismatch. If you want to use Spark 3.2.0 review your deps i.e. spark-fast-tests
should be of version2.3.0_0.11.0
and spark-daria
does not support Spark 3.2 at all.
I'm closing this issue for now, since it is not a frameless issue anymore, but feel free to reopen it again if needed.
from frameless.
Related Issues (20)
- CI release failure HOT 7
- How should parse and convert data from an external medium in a generic way? HOT 2
- Frameless 0.13 release HOT 2
- spark 3.4 support - replacing dataTypeFor logic HOT 8
- 3.4 AgnosticEncoder support - Spark Connect HOT 1
- [feature] DatasetT HOT 1
- AVG and KMeans tests fix HOT 1
- Add scalafmt HOT 1
- Add support for TypedDeltaTable
- use HOT 1
- Iterate over TypedColumns with evidence
- Spark 3.5 update HOT 10
- type inference for .opt no longer works without explicit type argument in Scala 2.13.x HOT 3
- Defective schema generation on array/seq column HOT 5
- scalafmt was not maintained for some of the code? HOT 2
- Add TypedEncoder for shapeless Record. HOT 3
- Spark 4.0 / DBR 14.2+ - bleeding edge changes HOT 6
- UDF fails when subexpression elimination is used in interpreted mode HOT 1
- Encoder derivation for collection incompatible implementations for interpreted serde e.g. Seq instead of Vector HOT 1
- Spark 4 snapshot test failures due to sql.ansi handling
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frameless.