Env variables not always expanded when classifying layer

Description

This can lead to poor performance as the functions are not translated down to SQL, they should be replaced with the current request env var values before sending them down to stores.

Environment

None

Status

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Fix versions

Affects versions

None

Components

Priority

Medium
Configure