Details
-
Bug
-
Resolution: Duplicate
-
Major
-
4.6.2, 5.0.0
-
4.6.2-3884
-
Triaged
-
No
Description
Dynamic Index created:
CREATE INDEX `idx_simple_table_db_3042_simple_table` ON `simple_table_db_3042_simple_table`((distinct (array `v` for `v` in pairs(self) end))) WITH
Query issued:
select meta().id from simple_table_db_3042_simple_table where abs(char_field1) > 0;
explain SELECT primary_key_id FROM simple_table_db_3042_simple_table WHERE ( MILLIS( datetime_field1 ) ) > 0;
explain SELECT primary_key_id FROM simple_table_db_3042_simple_table WHERE ( STR_TO_UTC( datetime_field1 ) ) > 0;
None of the above queries use dynamic index which is created.
The queries use the dynamic index when no function is used.
Attachments
Issue Links
- is duplicated by
-
MB-23983 [RQG Dynamic Indexing] queryport.connPoolTimeout from 127.0.0.1:9101 - cause: queryport.connPoolTimeout from 127.0.0.1:9101
- Closed
-
MB-23981 [RQG DYNAMIC INDEXING] Queries with count(*) with <NOT like> not using dynamic indexes
- Closed
-
MB-23984 [RQG Dynamic Indexing] NOT and NOT like queries with UNION ALL not using dynamic index
- Closed