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

Filter of dates do not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • v2.2.0
    • None
    • Query Engine
    • None

    Description

      Hello,

       

      I am wondering how to filter date columns with Kylin.

      I am working with the sample cube of the learn_kylin project. I have slightly modified the cube to add a few more columns, but that is all.

      In the advanced section, I put KYLIN_SALES.PART_DT in the 'Rowkeys' section, defined as 'date' type.

       

      I would like to add a filter like 'WHERE KYLIN_SALES.DT_PART = '2012-06-24'

      but the Kylin interface gives me a mistake : 'error while compiling generated Java code'

      This works fine with hive console.

      I also tried with TO_DATE('2012-06-24').

      Using "WHERE KYLIN_SALES.DT_PART BETWEEN '2012-06-24'  AND '2012-06-25'", it works fine.

       

      Are  there limitations or internal transformations on the 'date' type in Kylin ?

       

      Thank you for your help. Have a good day.

       

      Best regards;

      Jean-Luc.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jlbellier Jean-Luc BELLIER
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: