adevore3 commented on issue #9738: URL: https://github.com/apache/iceberg/issues/9738#issuecomment-1955227278
Sorry for the complex code sample. I verified that I can reproduce the error w/ a more simple datasource: ``` case class JobArchiveOsirisDatasource(minTs: Long, inputPartitions: Option[Int], useDfc: Boolean) extends Datasource { def dataframe(spark: SparkSession): DataFrame = { spark.sql("select * from db.table") } } ``` After further testing I figured out if I set the serializer to JavaSerializer instead of using KryoSerializer then the error goes away. I set this in my SessionBuilder's properties ``` "spark.serializer" -> "org.apache.spark.serializer.JavaSerializer" ``` Hope this helps w/ reproducing the error -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org