kumarvishal09 commented on a change in pull request #3406: [CARBONDATA-3516] Fixed compilation issue for mixed formats in Spark-2.1
URL:
https://github.com/apache/carbondata/pull/3406#discussion_r335951836
##########
File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/strategy/MixedFormatHandler.scala
##########
@@ -226,8 +225,8 @@ object MixedFormatHandler {
LOGGER.info(s"Post-Scan Filters: ${ afterScanFilters.mkString(",") }")
val filterAttributes = AttributeSet(afterScanFilters)
val requiredExpressions = new util.LinkedHashSet[NamedExpression](
- (projects.map(p => dataColumns.find(_.exprId == p.exprId).get) ++
- filterAttributes.map(p => dataColumns.find(_.exprId == p.exprId).get)).asJava
+ (projects.map(p => dataColumns.find(_.exprId.equals(findAttributeReference(p).exprId)).get) ++
Review comment:
Add commnets
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services