Open mysqldba-nandy opened 5 months ago
table definition
CREATE TABLE `security_info` (
`sec_code_par` varchar(75) NOT NULL,
...
`listed_board` varchar(6) NULL,
...
) ENGINE=OLAP
UNIQUE KEY(`sec_code_par`)
COMMENT 'OLAP'
DISTRIBUTED BY HASH(`sec_code_par`) BUCKETS 3
PROPERTIES (
"replication_allocation" = "tag.location.default: 3",
"in_memory" = "false",
"storage_format" = "V2",
"enable_unique_key_merge_on_write" = "true",
"disable_auto_compaction" = "false"
)
Search before asking
Version
1.2.4
What's Wrong?
The data type of column
listed_board
isvarchar(6)
, notint
. The result oflisted_board='1'
is weird, on the contrary,listed_board=1
is right.What You Expected?
The result of
select count() from security_info where listed_board='1'
should be3975
. Right data type, right result.How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct