You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "sunny19930321 (via GitHub)" <gi...@apache.org> on 2024/01/02 09:13:57 UTC

[PR] fix: en doc list partition column must be NOT NULL [doris]

sunny19930321 opened a new pull request, #29414:
URL: https://github.com/apache/doris/pull/29414

   ## Proposed changes
   en doc Data Partition the list partition column must be NOT NULL
   
   ## Further comments
   ```
   mysql> CREATE TABLE IF NOT EXISTS example_db.example_list_tbl
       -> (
       ->     `user_id` LARGEINT NOT NULL COMMENT "User ID",
       ->     `date` DATE NOT NULL COMMENT "Date when the data are imported",
       ->     `timestamp` DATETIME NOT NULL COMMENT "Timestamp when the data are imported",
       ->     `city` VARCHAR(20) COMMENT "User location city",
       ->     `age` SMALLINT COMMENT "User Age",
       ->     `sex` TINYINT COMMENT "User gender",
       ->     `last_visit_date` DATETIME REPLACE DEFAULT "1970-01-01 00:00:00" COMMENT "User last visit time",
       ->     `cost` BIGINT SUM DEFAULT "0" COMMENT "Total user consumption",
       ->     `max_dwell_time` INT MAX DEFAULT "0" COMMENT "Maximum user dwell time",
       ->     `min_dwell_time` INT MIN DEFAULT "99999" COMMENT "Minimum user dwell time"
       -> )
       -> ENGINE=olap
       -> AGGREGATE KEY(`user_id`, `date`, `timestamp`, `city`, `age`, `sex`)
       -> PARTITION BY LIST(`city`)
       -> (
       ->     PARTITION `p_cn` VALUES IN ("Beijing", "Shanghai", "Hong Kong"),
       ->     PARTITION `p_usa` VALUES IN ("New York", "San Francisco"),
       ->     PARTITION `p_jp` VALUES IN ("Tokyo")
       -> )
       -> DISTRIBUTED BY HASH(`user_id`) BUCKETS 16
       -> PROPERTIES
       -> (
       ->     "replication_num" = "3",
       ->     "storage_medium" = "SSD",
       ->     "storage_cooldown_time" = "2018-01-01 12:00:00"
       -> );
   ERROR 1105 (HY000): errCode = 2, detailMessage = The list partition column must be NOT NULL
   ```


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [PR] [fix](doc) fix en doc content that list partition column must be NOT NULL [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #29414:
URL: https://github.com/apache/doris/pull/29414#issuecomment-1873791902

   PR approved by anyone and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [PR] [fix](doc) fix en doc content that list partition column must be NOT NULL [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #29414:
URL: https://github.com/apache/doris/pull/29414#issuecomment-1874873561

   run buildall


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [PR] [fix](doc) fix en doc content that list partition column must be NOT NULL [doris]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #29414:
URL: https://github.com/apache/doris/pull/29414#issuecomment-1873791847

   PR approved by at least one committer and no changes requested.


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [PR] [fix](doc) fix en doc content that list partition column must be NOT NULL [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei merged PR #29414:
URL: https://github.com/apache/doris/pull/29414


-- 
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-unsubscribe@doris.apache.org

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


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


Re: [PR] [fix](doc) fix en doc content that list partition column must be NOT NULL [doris]

Posted by "yiguolei (via GitHub)" <gi...@apache.org>.
yiguolei commented on PR #29414:
URL: https://github.com/apache/doris/pull/29414#issuecomment-1874850831

   run buildall


-- 
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-unsubscribe@doris.apache.org

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


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