Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-788

Option to do flattening of columns on bridge tables later

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4
    • 2.6
    • cube
    • None

    Description

      With support to flatten (aggregate) columns from bridge table joins added in LENS-752, this is enhancement to apply aggregate later to applying filters or expression over the columns.

      For ex :

      With schema example given LENS-752, if user queries revenue with a filter :

      cube select usersport.name, revenue where time_range_in(dt,x,y) and usersport.name in ('Cricket').

      The query should have an option to apply filter before aggregate or not.

      Similarly :
      cube select (case when usersport.name='cricket' then 'CKT' when usersport.name='football' then 'FB' else 'NA' end), revenue where time_range_in(dt,x,y).

      The query should have option to apply expression before aggregate or not.

      Attachments

        1. LENS-788.4.patch
          154 kB
          Amareshwari Sriramadasu

        Issue Links

          Activity

            People

              amareshwari Amareshwari Sriramadasu
              amareshwari Amareshwari Sriramadasu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: