You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@carbondata.apache.org by aj...@apache.org on 2019/11/20 08:42:02 UTC

[carbondata] branch master updated: [CARBONDATA-3584] Fix Select Query failure for Boolean dictionary column when Codegen is enabled

This is an automated email from the ASF dual-hosted git repository.

ajantha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/carbondata.git


The following commit(s) were added to refs/heads/master by this push:
     new 236913c  [CARBONDATA-3584] Fix Select Query failure for Boolean dictionary column when Codegen is enabled
236913c is described below

commit 236913cf63e6f9294a4ba613ab6f74a5bfa48cf6
Author: Indhumathi27 <in...@gmail.com>
AuthorDate: Tue Nov 19 19:20:00 2019 +0530

    [CARBONDATA-3584] Fix Select Query failure for Boolean dictionary column when Codegen is enabled
    
    Induced because of #3463
    
    This closes #3470
---
 .../src/main/scala/org/apache/spark/sql/CarbonDictionaryDecoder.scala   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDictionaryDecoder.scala b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDictionaryDecoder.scala
index 9b9d7a6..969544e 100644
--- a/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDictionaryDecoder.scala
+++ b/integration/spark2/src/main/scala/org/apache/spark/sql/CarbonDictionaryDecoder.scala
@@ -232,7 +232,7 @@ case class CarbonDictionaryDecoder(
            |  return tuple;
            |}""".stripMargin)
       val decodeBool = ctx.freshName("deDictBool")
-      ctx.addNewFunction(decodeStr,
+      ctx.addNewFunction(decodeBool,
         s"""
            |private org.apache.spark.sql.DictTuple $decodeBool(
            |  org.apache.spark.sql.ForwardDictionaryWrapper dict, int surg)