XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None
    • None

    Description

      User can give timeseries option while creating the main table itself and carbon will create aggregate tables automatically.

      CREATE TABLE agg_sales
      STORED BY 'carbondata'
      TBLPROPERTIES ('parent_table'='sales', ‘timeseries_column’=’order_time’, ‘granualarity’=’hour’, ‘rollup’ =’quantity:sum, max # user_id: count # price: sum, max, min, avg’) 
      

      In the above case, user choose timeseries_column, granularity and aggregation types for measures, so carbon generates the aggregation tables automatically for year, month, day and hour level aggregation tables (totally 4 tables, their table name will be prefixed with agg_sales).

      Attachments

        Issue Links

          Activity

            People

              kumarvishal09 Kumar Vishal
              ravi.pesala Ravindra Pesala
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7h 50m
                  7h 50m