Hi,
While toying with selectExpr I've noticed that the schema changes to
include id column. I can't seem to explain it. Anyone?
scala> spark.range(1).printSchema
root
|-- value: long (nullable = true)
scala> spark.range(1).selectExpr("*").printSchema
root
|-- id: long (nullable = false)
p.s. http://stackoverflow.com/q/43041975/1305344
Pozdrawiam,
Jacek Laskowski
----
https://medium.com/@jaceklaskowski/
Mastering Apache Spark 2 https://bit.ly/mastering-apache-spark
Follow me at https://twitter.com/jaceklaskowski
---------------------------------------------------------------------
To unsubscribe e-mail: [email protected]