mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-09 00:08:52 -04:00
the referenced fields of an expression Avoids some cases where use of various expression functions which normally trigger all attributes to be requested, yet can be pre-computed during prepare stages, cause non-provider fields to be listed in the referenced columns and accordingly prevent expression compilation. Notably this can occur when using an expression like: aggregate( .... , filter:= "some_child_field"=attribute(@atlas_feature, 'some_atlas_field_name') ) where the whole attribute(@atlas_feature....) part is a constant static value and can be compiled down to a trivial, index-friendly "some_child_field"=### filter for the aggregate provider request. Ultimately giving a big performance boost to the atlas!