Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
BOOL, BOOLEAN
BOOLEAN
TRUE
1
FALSE
0
CREATE TABLE booleanDemo ( pk INT COMMENT "Sort Key", ispass BOOLEAN COMMENT "true/false" ) ENGINE=OLAP DUPLICATE KEY(pk) DISTRIBUTED BY HASH(pk) BUCKETS 1; INSERT INTO booleanDemo VALUES (1, true), (2, false), (3, 1), (4, 0);
MySQL > SELECT * FROM booleanDemo; +------+--------+ | pk | ispass | +------+--------+ | 1 | 1 | | 2 | 0 | | 3 | 1 | | 4 | 0 | +------+--------+