ExportXMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Critical - P2
    • 1.0.0
    • Affects Version/s: None
    • Component/s: Query
    • 3
    • None
    • Needed
    • Hide

      distinct within aggregate functions is now supported

       

      select b.string, count(distinct b.primitiveInt) from Item as b
      GROUP BY b.string ORDER BY b.string

      The distinct over @Structs is not supported

       

       

      select b.string, count(distinct b.struct) from Item as b
      GROUP BY b.string ORDER BY b.string

      distinct within aggregates without group by are not yet supported 

       

      Show
      distinct within aggregate functions is now supported   select b.string, count(distinct b.primitiveInt) from Item as b GROUP BY b.string ORDER BY b.string The distinct over @Structs is not supported     select b.string, count(distinct b.struct) from Item as b GROUP BY b.string ORDER BY b.string distinct within aggregates without group by are not yet supported   
    • None
    • None
    • None
    • None
    • None
    • None

      HIBERNATE-205 will add support for distinct operator 

      but for this ticket we need to support distinct within a group by

      select b.string, count(distinct b.primitiveInt) from Item as b GROUP BY b.string

            Assignee:
            Almas Abdrazak
            Reporter:
            Almas Abdrazak
            Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: