File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,9 @@ object CombineTypedFilters extends Rule[LogicalPlan] {
100100
101101/**
102102 * Removes MapObjects when the following conditions are satisfied
103- * 1. Mapobject(e) where e is lambdavariable(), which means types for input output
104- * are primitive types
105- * 2. no custom collection class specified
106- * representation of data item. For example back to back map operations.
103+ * 1. Mapobject(... lambdavariable(..., false) ...), which means types for input and output
104+ * are primitive types with non-nullable
105+ * 2. no custom collection class specified representation of data item.
107106 */
108107object EliminateMapObjects extends Rule [LogicalPlan ] {
109108 def apply (plan : LogicalPlan ): LogicalPlan = plan transformAllExpressions {
You can’t perform that action at this time.
0 commit comments