-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Labels
kind/fixCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
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 |
+------+
Metadata
Metadata
Assignees
Labels
kind/fixCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.