-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.fuzz/randomtestseverity/criticalsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
CREATE TABLE `t4a8656d1` (
`col_73` json NOT NULL,
`col_74` date DEFAULT '1984-06-10',
KEY `idx_39` ((cast(`col_73` as double array)),`col_74`),
KEY `idx_40` ((cast(`col_73` as double array)),`col_74`),
UNIQUE KEY `idx_41` (`col_74`,(cast(`col_73` as double array)))
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
CREATE TABLE `tld47bc815` (
`col_1` text NOT NULL,
PRIMARY KEY (`col_1`(3)) /*T![clustered_index] NONCLUSTERED */,
KEY `idx_2` (`col_1`(5)),
UNIQUE KEY `idx_3` (`col_1`(5)),
KEY `idx_4` (`col_1`(4))
) ENGINE=InnoDB DEFAULT CHARSET=gbk COLLATE=gbk_chinese_ci;
with cte_147 ( col_754 ) AS ( select format( t4a8656d1.col_74 , 1 ) as r0 from t4a8656d1 join tld47bc815 on t4a8656d1.col_74 = tld47bc815.col_1 where JSON_OVERLAPS( t4a8656d1.col_73 , '[0.035131302371695955,0.8429698274329702,0.2506157132646911,0.29289756835712716]' ) group by t4a8656d1.col_74,t4a8656d1.col_73 having not( IsNull( JSON_OVERLAPS( '[0.47941091010360976,0.4906971499170084]' , t4a8656d1.col_73 ) ) ) ) ( select 1,col_754 from cte_147 where IsNull( cte_147.col_754 ) order by 1,2 );
2. What did you expect to see? (Required)
No error
3. What did you see instead (Required)
ERROR 1105 (HY000): other error: [components/tidb_query_expr/src/lib.rs:857]: ScalarFunction Format is not supported in batch mode
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.fuzz/randomtestseverity/criticalsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.