You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/08/07 12:58:21 UTC

[GitHub] [carbondata] ajantha-bhat commented on a change in pull request #3306: [CARBONDATA-3452] Fix select query failure when substring on dictionary column with join

ajantha-bhat commented on a change in pull request #3306: [CARBONDATA-3452] Fix select query failure when substring on dictionary column with join
URL: https://github.com/apache/carbondata/pull/3306#discussion_r311537853
 
 

 ##########
 File path: integration/spark2/src/main/scala/org/apache/spark/sql/optimizer/CarbonLateDecodeRule.scala
 ##########
 @@ -698,11 +698,20 @@ class CarbonLateDecodeRule extends Rule[LogicalPlan] with PredicateHelper {
         u
       case p: Project if relations.nonEmpty =>
         val prExps = p.projectList.map { prExp =>
+          var isSubstringPresent = false
           prExp.transform {
-            case attr: AttributeReference =>
-              updateDataType(attr, attrMap, allAttrsNotDecode, aliasMap)
+            case subStr: Substring =>
 
 Review comment:
   ok handled and updated test case also

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services