HUE-1297 [beeswax] Support other databases than default for parameterized queries