metaAstonish opened a new issue, #1749:
URL: https://github.com/apache/doris-website/issues/1749

   CREATE TABLE IF NOT EXISTS example_tbl_agg
   (
       user_id             LARGEINT    NOT NULL,
       load_dt             DATE        NOT NULL,
       city                VARCHAR(20),
       last_visit_dt       DATETIME    REPLACE DEFAULT "1970-01-01 00:00:00",
       cost                BIGINT      SUM DEFAULT "0",
       max_dwell           INT         MAX DEFAULT "0",
   )
   AGGREGATE KEY(user_id, date, city)
   DISTRIBUTED BY HASH(user_id) BUCKETS 10;
   
   在指定聚合列时,没有date列,应该是 load_dt列


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to