Databricks runtime 14.3 gives error scala.math.BigInt cannot be cast to java.lang.Integer

HeijerM84
New Contributor III

We have a cluster running on 13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12).
We want to test with a different type of cluster (14.3 LTS (includes Apache Spark 3.5.0, Scala 2.12))

And all of a sudden we get errors that complain about a casting a Bigint to a java.lang.integer. Running the same (sql) query on the cluster with version 13.3 does not give any errors. 

Does anyone recognize this type of issue and has anybody come up with an idea how to fix this?