Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-4199

User Defined Function can't return type Date

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • v2.6.3
    • None
    • Query Engine
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            aahi hailin.huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: