Update SQL field filters during find & replace of a field
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
**Context**
When applying Find & Replace to a SQL query, it might have field filter parameters. These are mapped to a Field from the data warehouse - these mappings should be updated if that field is being replaced.
[Overall product doc](https://www.notion.so/metabase/Find-and-replace-data-reference-in-native-queries-API-70f6e14243254289922ef2099591a19b)
[Specific tech doc](https://www.notion.so/metabase/Tech-Find-replace-on-SQL-parameters-925321a793474d2498f945165e4ea766)
Contributor guide
Research direction
Start with the linked Overall product doc and Specific tech doc to understand Find & Replace for SQL parameters and field mappings. Trace the existing implementation from the documented SQL-parameter flow; done means replacing a field also updates any SQL field-filter mappings that reference it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, sql
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100