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

kylin can't support date/time functions like TIMESTAMPADD、TIMESTAMPDIFF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • v1.5.3
    • None
    • Query Engine
    • kylin-1.5.3-cdh5.7

    Description

      kylin can't support date/time functions like TIMESTAMPADD、TIMESTAMPDIFF

      when I execute sql on sample table kylin_sales in kylin web cli, It reports error.
      My sql :
      select timestampadd(DAY, 1, cast(part_dt as timestamp)) from kylin_sales

      Error message:
      Encountered "(DAY" at line 1, column 20. Was expecting one of :"."... "("... ...

      Attachments

        Activity

          People

            Unassigned Unassigned
            SF Wang SF Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: