From 47ea616585adf31b8513302e5baf9c7eb2f88d26 Mon Sep 17 00:00:00 2001 From: Takeshi Yamamuro Date: Wed, 7 Oct 2020 14:09:47 +0900 Subject: [PATCH] Fix --- .../org/apache/spark/sql/catalyst/optimizer/subquery.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/subquery.scala b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/subquery.scala index 7ba39d84bb65f..b3c9a19a68714 100644 --- a/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/subquery.scala +++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/optimizer/subquery.scala @@ -589,7 +589,7 @@ object RewriteCorrelatedScalarSubquery extends Rule[LogicalPlan] { } } } - (newChild, AttributeMap(subqueryAttrMapping)) + (newChild, AttributeMap(subqueryAttrMapping.toSeq)) } private def updateAttrs[E <: Expression](