Zmień nazwę colmnname w DataFrame Scala
df.withColumnRenamed("dob","DateOfBirth")
.printSchema()
Bright Bug
df.withColumnRenamed("dob","DateOfBirth")
.printSchema()