-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime: Set instance config with variables #4521
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
But I am not sure about the usage of rill.
prefix here.
In general either we should allow all configuration(including connector related) to be appended with rill.
as in the case of spark configurations : https://spark.apache.org/docs/latest/configuration.html#available-properties
or nothing should be appended and as in the case of duckdb.
As a user I would prefer if configurations are either rill.models.default_materialize
,rill.connector.duckdb.path
or models.default_materialize
, connector.duckdb.path
.
I understand this point. One issue is that users can also provide their own variables (for example, see https://github.com/rilldata/margin-metering/blob/main/rill.yaml). So to avoid conflicts, having a fixed prefix like Then about |
Makes sense.
May be we can consider |
* Runtime: Set instance config with variables * Add key for download row limit * Config for pivot cell limit * Fix test and lint * Self review * Self review * Add more config keys * Review
rill.
. For example,rill.models.default_materialize
configures the instance's default model materialization.rill.download_row_limit
(int, default: 200k)rill.pivot_cell_limit
(int, default: 2m)rill.interactive_sql_row_limit
(int, default: 10k)rill.stage_changes
(bool, default: true)rill.models.default_materialize
(bool, default: false)rill.models.materialize_delay_seconds
(int, default: 0)rill.alerts.default_streaming_refresh_cron
(string, default: every 10 mins)Closes #4426