Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
5.0.0
-
None
-
Triaged
-
Unknown
Description
CREATE INDEX `id_type_size_etype` ON `mybucket`(`reporting_entity_type`,encoded_size(mybucket))
|
upon index creation gets changed to
CREATE INDEX `id_type_size_etype` ON `mybucket`(`reporting_entity_type`,encoded_size(self))
|
Running a query with mybucket, covers correctly however if I use "self" it does not cover
Covers:
select reporting_entity_type,AVG(encoded_size(mybucket))
|
from mybucket
|
where reporting_entity_type in ["n","r","b","c"]
|
group by reporting_entity_type
|
Does not cover:
select reporting_entity_type,AVG(encoded_size(self))
|
from mybucket
|
where reporting_entity_type in ["n","r","b","c"]
|
group by reporting_entity_type
|
|
Ask:
Either prevent the conversion of bucket name to self or treat self and bucket name interchangeably in the queries