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

count distinct > count(*)/sum(1)

    XMLWordPrintableJSON

Details

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

    Description

      select dc,plf,sckw,sc,sum (1) search_pv,count(distinct oi) search_uv,sckw_last_nums from es_gearbest_10002.STAT_SEARCH_DATA_TABLE_VIEW wt where t = 'ic' and x = 'search' and date_id = '2018-11-02' and sckw != '[]' and sckw != 'nill' and dc = '1301'
      group by dc,plf,sckw,sc,sckw_last_nums
      having search_uv> search_pv
       
      I run this sql,but have many(2000 more) result that search_uv > search_pv in version2.5.1.
      and I convert version to 2.4.1 then don't have any result.
       
      version 2.5.1 is more fast than 2.4.1.
      I need your help

      Attachments

        Activity

          People

            Unassigned Unassigned
            cc666 chenchen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: