Github user gvramana commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/190#discussion_r80219576
  
    --- Diff: 
integration/spark/src/main/scala/org/apache/spark/sql/optimizer/CarbonOptimizer.scala
 ---
    @@ -87,20 +130,32 @@ class ResolveCarbonFunctions(relations: 
Seq[CarbonDecoderRelation])
           return plan
         }
         var decoder = false
    +    val mapOfNodes = new java.util.HashMap[LogicalPlan, ExtraNodeInfo]
    +    fillNodeInfo(plan, mapOfNodes)
         val aliasMap = CarbonAliasDecoderRelation()
         // collect alias information before hand.
         collectInformationOnAttributes(plan, aliasMap)
    -    val transFormedPlan =
    -      plan transformDown {
    -        case cd: CarbonDictionaryTempDecoder if cd.isOuter =>
    -          decoder = true
    -          cd
    +
    +    def hasCarbonRelation(currentPlan: LogicalPlan): Boolean = {
    +      val extraNodeInfo = mapOfNodes.get(currentPlan)
    --- End diff --
    
    Change the name of mapofNodes to mapOfNonCarbonPlanNodes


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to