Modified Spark code for SmartDataLakeBuilder

Latest version

[![spark-extensions Scala version support](https://index.scala-lang.org/smart-data-lake/spark-extensions/spark-extensions/latest.svg)](https://index.scala-lang.org/smart-data-lake/spark-extensions/spark-extensions)

JVM badge

[![spark-extensions Scala version support](https://index.scala-lang.org/smart-data-lake/spark-extensions/spark-extensions/latest-by-scala-version.svg?platform=jvm)](https://index.scala-lang.org/smart-data-lake/spark-extensions/spark-extensions)