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

    https://github.com/apache/carbondata/pull/2180#discussion_r184358059
  
    --- Diff: 
integration/spark2/src/main/scala/org/apache/spark/sql/execution/strategy/CarbonLateDecodeStrategy.scala
 ---
    @@ -536,6 +536,13 @@ private[sql] class CarbonLateDecodeStrategy extends 
SparkStrategy {
             }
             Some(TextMatch(u.children.head.toString()))
     
    +      case u: ScalaUDF if u.function.isInstanceOf[TextMatchMaxDocUDF] =>
    +        if (u.children.size > 2) {
    +          throw new MalformedCarbonCommandException(
    +            "TEXT_MATCH UDF syntax: TEXT_MATCH('luceneQuerySyntax')")
    +        }
    +        Some(TextMatchDoc(u.children.head.toString(), 
u.children.last.toString()))
    --- End diff --
    
    rename to TextMatchLimit


---

Reply via email to