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

    
https://github.com/apache/incubator-carbondata/pull/616#discussion_r105885093
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/carbondata/spark/CarbonFilters.scala
 ---
    @@ -110,8 +110,16 @@ object CarbonFilters {
         }
     
         def getCarbonLiteralExpression(name: String, value: Any): 
CarbonExpression = {
    -      new CarbonLiteralExpression(value,
    -        CarbonScalaUtil.convertSparkToCarbonDataType(dataTypeOf(name)))
    +      val dataTypeOfAttribute = 
CarbonScalaUtil.convertSparkToCarbonDataType(dataTypeOf(name))
    +      val dataType = if (Option(value).isDefined
    +        && dataTypeOfAttribute == DataType.STRING
    +        && value.isInstanceOf[Double]) {
    --- End diff --
    
    Can you explain with out this fix what is the issue happening?


---
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