We need to match reportupdater's templating functionality for Hive scripts. Amir needs this to query webrequest per wiki.
This kind of thing should be possible in a Hive script: https://github.com/wikimedia/analytics-limn-edit-data/blob/master/edit/config.yaml#L13-L19