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

User Defined Function can't return type Date

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: v2.6.3
    • Fix Version/s: None
    • Component/s: Query Engine
    • Labels:
      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

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

              Dates

              • Created:
                Updated: