You also have to shade shapeless inside its own JAR, in addition to pureconfig:
assemblyShadeRules in assembly := Seq( ShadeRule.rename("shapeless.**" -> "shadeshapless.@1") .inLibrary("com.chuusai" % "shapeless_2.11" % "2.3.2") .inLibrary("com.github.pureconfig" %% "pureconfig" % "0.7.0") .inProject )
Make sure to add the correct shapeless version.
- Spark not working with pureconfig
- Spark UDF not working with null values in Double field
- Google secret manager API and google storage API not working with Apache Spark
- Spark DataFrame filter not working as expected with Random
- Spark SQL command not working with doubles
- Spark path style access with fs.s3a.path.style.access property is not working
- Spark 3.2.1 fetch HBase data not working with NewAPIHadoopRDD
- When function in not working in spark data frame with auto detect schema
- Spark SQL DataFrame join with filter is not working
- Spark Scala create external hive table not working with location as a variable
- Spark SQL query with Int val is not working when we pass int val as argument
- Using Spark converting nested json with optional fields to Scala case class not working
- Spark - Hive UDF is working with Spark-SQL but not with DataFrame
- join Not working in spark 1.5.2 with more than 5 data frame
- Window function with partitionBy for Spark data frame is not working
- Replacing null value with blank value in spark data frame not working
- What are possible reasons for receiving TimeoutException: Futures timed out after [n seconds] when working with Spark
- Spark - Task not serializable: How to work with complex map closures that call outside classes/objects?
- java try-with-resource not working with scala
- Spark Task not serializable with lag Window function
- "scala.runtime in compiler mirror not found" but working when started with -Xbootclasspath/p:scala-library.jar
- Scala println not working with App trait
- UDF not working in Spark SQL
- Debug not working with play framework activator, scala and eclipse
- type inference in argument list in combination with setter not working
- Spark 2.3 dynamic partitionBy not working on S3 AWS EMR 5.13.0
- Spark streaming is not working in Standalone cluster deployed in VM
- Multiple assignment via pattern matching with Array is not working with uppercase vals
- Scalaz Validation with applicative functor |@| not working
- Self-join not working as expected with the DataFrame API
More Query from same tag
- In Scala, can you make an anonymous function have a default argument?
- hiveql remove duplicates including records that had a duplicate
- Scala, advanced generic extending
- Catching MatchError at val initialisation with pattern matching in Scala?
- Understanding breakdown of case classes
- What is wrong with my Scala code?
- Scala copy case class with generic type
- Load Spark data locally Incomplete HDFS URI
- How to provide a Java-friendly interface for my Scala code?
- Form library suited for Snap and Heist
- Usage of mapFuture in akka streams
- Slick outer join with multiple tables
- The argument types of an anonymous function must be fully known. (SLS 8.5) when word2vec applied for dataframe
- Scala DSL and Block as function argument
- Scala immutable lists adding a 'Unit' element
- In scala 2, can macro or any language feature be used to rewrite the abstract type reification mechanism in all subclasses? How about scala 3?
- Iterate over an existing map against a list of tuples scala
- Kryo setWarnUnregisteredClasses to true showing nothing in spark config
- Do own stuff in Slick transaction
- Spark distinct operation does not work on custom type
- How to checkpoint many source of spark streaming
- How to use a filter condition on a windows functions in SQL
- Initialize class parameter with a function in Scala
- how to depend on externally generated classes properly in sbt?
- Spark SQL convert dataset to dataframe
- Scala overload constructor with mutable List of different type
- Akka & Case Statements
- Scala Play / SBT Change Order of Resolvers
- Brute force string matching in Scala
- How use guave cache loader in F polymorphic code