Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2019

In Druid adapter, push COUNT(__time) as COUNT(*)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.15.0
    • Component/s: druid
    • Labels:
      None

      Description

      Druid Time column is not null by default, thus we can transform

       select count(__time) from table 

      to

       select count(*) from table

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.15.0 (2017-12-11).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.15.0 (2017-12-11).
        Hide
        bslim slim bouguerra added a comment -

        Michael Mior Thanks.

        Show
        bslim slim bouguerra added a comment - Michael Mior Thanks.
        Hide
        michaelmior Michael Mior added a comment -

        Fixed in e07e8ad.

        Show
        michaelmior Michael Mior added a comment - Fixed in e07e8ad .
        Hide
        julianhyde Julian Hyde added a comment -

        There are checkstyle violations.

        Show
        julianhyde Julian Hyde added a comment - There are checkstyle violations.
        Show
        bslim slim bouguerra added a comment - https://github.com/apache/calcite/pull/551

          People

          • Assignee:
            jcamachorodriguez Jesus Camacho Rodriguez
            Reporter:
            bslim slim bouguerra
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development