CLI for loading resource groups configuration into a backing database

We are testing out using the database-backed resource group manager but want to maintain resource groups configuration in a JSON file since we find it easier to work with and we can keep it in version control.

Just wanted to share a simple tool we are using to convert a JSON file containing resource group definitions into the necessary SQL to load the relevant database tables Trino reads from. Here is the github repository in case anyone is interested.

1 Like