You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "hailin.huang (Jira)" <ji...@apache.org> on 2019/10/18 10:48:00 UTC

[jira] [Created] (KYLIN-4199) User Defined Function can't reture type Date

hailin.huang created KYLIN-4199:
-----------------------------------

             Summary: User Defined Function can't reture type Date
                 Key: KYLIN-4199
                 URL: https://issues.apache.org/jira/browse/KYLIN-4199
             Project: Kylin
          Issue Type: Bug
          Components: Query Engine
    Affects Versions: v2.6.3
            Reporter: hailin.huang


In my scene, I implement user defined fuction str_to_date to support client user use mysql dilect to query.
   However when I execute query like this:

select str_to_date(dt) as dt,sum(pv) as pv from access_log group by str_to_date(dt);

Kylin throw execution Long can't covert Date.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)