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

    https://github.com/apache/carbondata/pull/2180#discussion_r184357724
  
    --- 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')")
    --- End diff --
    
    This message is not correct, should be TEXT_MATCH_WITH_LIMIT


---

Reply via email to