code: public static QueryMeta checkAndPromoteToTimeSeries(QueryMeta qMeta) {
          if (qMeta instanceof GroupByQueryMeta) {
               if (((GroupByQueryMeta)qMeta).fetchDimensions == null) {
                  return TimeSeriesQueryMeta.promote(qMeta);
               }
          }
          return qMeta;
      }
docs: Every query starts with GroupBy. Call this method after GROUP BY clause.
  @param qMeta
  @return