jmk1011 opened a new issue #2761: default value of bitmap column is wrong
URL: https://github.com/apache/incubator-doris/issues/2761
 
 
   **Describe the bug**
   default value of bitmap column is empty string, not N/A
   This will case the desc and create table statement is wrong, and when use 
create table statement to create new table, the action will return error
   
   **To Reproduce**
   
   CREATE TABLE `test_bitmap_tb` (
     `id` int(11) NULL COMMENT "",
     `id1` tinyint(4) NULL COMMENT "",
     `c_float` float SUM NULL COMMENT "",
     `bitmap_set` bitmap BITMAP_UNION NULL COMMENT ""
   ) ENGINE=OLAP
   AGGREGATE KEY(`id`, `id1`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`id`, `id1`) BUCKETS 5
   PROPERTIES (
   "storage_type" = "COLUMN"
   );
   show create table test_bitmap_tb;
   
   **Screenshots**
   
![image](https://user-images.githubusercontent.com/18320438/72334102-c77e8100-36f7-11ea-93c2-bbc6c9487c54.png)
   
![image](https://user-images.githubusercontent.com/18320438/72334142-d402d980-36f7-11ea-8cc3-9772a6242037.png)
   
   **Code Version**
   
https://github.com/apache/incubator-doris/commit/a99a49a4444ccd2199356b7c1414adef7f58c32c

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to