yangzhg opened a new issue #3831:
URL: https://github.com/apache/incubator-doris/issues/3831


   **Describe the bug**
   When importing bool data into doris, the result of the import is wrong, all 
will be converted to 1
   
   **To Reproduce**
   the table is 
   ```
   +-------+---------+------+-------+---------+-------+
   | Field | Type    | Null | Key   | Default | Extra |
   +-------+---------+------+-------+---------+-------+
   | k1    | BOOLEAN | Yes  | true  | N/A     |       |
   +-------+---------+------+-------+---------+-------+
   ```
   
   the data file is 
   ```
   true
   false
   true
   false
   ```
   
   execute command 
   ```
   cat bool_data| curl --location-trusted -u root: -T - 
http://127.0.0.1:8030/api/test/tbl_bool/_stream_load
   ```
   the result is 
   ```
   +------+
   | k1   |
   +------+
   |    1 |
   |    1 |
   |    1 |
   |    1 |
   +------+
   ```
   **Expected behavior**
   ```
   +------+
   | k1   |
   +------+
   |    1 |
   |    0 |
   |    1 |
   |    0 |
   +------+
   ```


----------------------------------------------------------------
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]



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

Reply via email to