diff --git a/cli/pkg/local/app.go b/cli/pkg/local/app.go index b67bcd745a1..fa7f8e68cd1 100644 --- a/cli/pkg/local/app.go +++ b/cli/pkg/local/app.go @@ -180,8 +180,8 @@ func NewApp(ctx context.Context, opts *AppOptions) (*App, error) { // Merge opts.Variables with some local overrides of the defaults in runtime/drivers.InstanceConfig. vars := map[string]string{ - "rill.download_row_limit": "0", // 0 means unlimited - "rill.stage_changes": "false", + "rill.download_limit_bytes": "0", // 0 means unlimited + "rill.stage_changes": "false", } for k, v := range opts.Variables { vars[k] = v diff --git a/runtime/drivers/registry.go b/runtime/drivers/registry.go index 70a680f9264..b6af8ef0bec 100644 --- a/runtime/drivers/registry.go +++ b/runtime/drivers/registry.go @@ -73,7 +73,7 @@ type Instance struct { // InstanceConfig should only be used for config that the user is allowed to change dynamically at runtime. type InstanceConfig struct { // DownloadLimitBytes is the limit on size of exported file. If set to 0, there is no limit. - DownloadLimitBytes int64 `mapstructure:"rill.download_row_limit_bytes"` + DownloadLimitBytes int64 `mapstructure:"rill.download_limit_bytes"` // InteractiveSQLRowLimit is the row limit for interactive SQL queries. It does not apply to exports of SQL queries. If set to 0, there is no limit. InteractiveSQLRowLimit int64 `mapstructure:"rill.interactive_sql_row_limit"` // StageChanges indicates whether to keep previously ingested tables for sources/models, and only override them if ingestion of a new table is successful.