Github user gczsjdy commented on the issue:

    https://github.com/apache/spark/pull/17359
  
    @viirya  Sorry for the late reply. It seems Spark cannot use Hive 
`GenericUDAFnGrams`, since Spark only supports subclass of 
`AbstractGenericUDAFResolver` & `UDAF` for Hive UDAF, while `GenericUDAFnGrams` 
is subclass of `GenericUDAFResolver`. Spark will return a `No handler for Hive 
UDF` exception. So this may be a good reason to add new feature for Spark 
aggregate expression.
    
    Or do you think it's reasonable to make Spark support registering subclass 
of `GenericUDAFResolver`?


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to