Description
When the following program is executed, a schema of dataframe is different among master, branch 2.0, and branch 2.1. The result should be false.
val df = sparkContext.parallelize(1 to 8, 1).toDF() df.printSchema df.filter("value > 4").count === master === root |-- value: integer (nullable = true) === branch 2.1 === root |-- value: integer (nullable = true) === branch 2.0 === root |-- value: integer (nullable = false)
Attachments
Issue Links
- is duplicated by
-
SPARK-20866 Dataset map does not respect nullable field
- Closed
- is related to
-
SPARK-18623 Add `returnNullable` to `StaticInvoke` and modify it to handle properly.
- Resolved
- supercedes
-
SPARK-14584 Improve recognition of non-nullability in Dataset transformations
- Resolved
- links to