Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0, 2.1.2, 2.2.1, 2.3.0
Description
val tablePath = new File(s"${path.getCanonicalPath}/cOl3=c/cOl1=a/cOl5=e") Seq(("a", "b", "c", "d", "e")).toDF("cOl1", "cOl2", "cOl3", "cOl4", "cOl5") .write.json(tablePath.getCanonicalPath) val df = spark.read.json(path.getCanonicalPath).select("CoL1", "CoL5", "CoL3").distinct() df.show()
This returns a wrong result
[c,e,a]
Attachments
Issue Links
- is caused by
-
SPARK-15752 Optimize metadata only query that has an aggregate whose children are deterministic project or filter operators
- Resolved
- links to