Skip to main content

Wren Engine Configuration

Config Type

  • Static Config: The configuration can't be changed. Only set when server start.
  • Reload Required Config: The configuration can be changed and will trigger the reload.
  • Normal Config: The configuration can be changed. No need to reload.

Minimum Config for startup

wren.directory=etc-real/mdl-home
node.environment=production

Core

  • wren.directory
    • default: etc/mdl
    • description: The path to put manifest json file. The path should only have one json file.
    • type: static
  • wren.datasource.type
    • default: DUCKDB
    • description: The type of current data source.
    • type: reload required
  • wren.experimental-enable-dynamic-fields
    • default: false
    • description: It’s used to enable the dynamic accessing mode.
    • type: normal

BigQuery Connector

  • bigquery.credentials-key
    • default: null
    • description: The base64-encoded service account credentials JSON of BigQuery connection.
    • type: reload required
  • bigquery.credentials-file
    • default: null
    • description: The service account credentials JSON file of BigQuery connection.
    • type: reload required
  • bigquery.project-id
    • default: null
    • description: The project id of BigQuery
    • type: reload required
  • bigquery.location
    • default: null
    • description: The location of the BigQuery dataset.
    • type: reload required
  • bigquery.metadata.schema.prefix
    • default: null
    • description: The prefix for the temp dataset created by accio.
    • type: reload required

Postgres Connector

  • postgres.jdbc.url
    • default: null
    • description: The jdbc url of postgres data source
    • type: reload required
  • postgres.user
    • default: null
    • description: The user of postgres data source
    • type: reload required
  • postgres.password
    • default: null
    • description: The password of postgres data source
    • type: reload required

DuckDB Connector

  • duckdb.connector.init-sql-path
    • default: etc/duckdb/init.sql
    • description: Specify file path of initialization SQL for DuckDB
    • type: normal
  • duckdb.connector.session-sql-path
    • default: etc/duckdb/session.sql
    • description: Specify file path of session SQL for DuckDB
    • type: normal
  • duckdb.memory-limit
    • default: JVM system memory / 2
    • description: It’s used to define how many memory can be used to internal DuckDB.
    • type: reload required
  • duckdb.home-directory
    • default: null
    • description: It’s used to set the home directory for internal DuckDB.
    • type: reload required
  • duckdb.temp-directory
    • default: /tmp/duck
    • description: It’s used to set the temp directory for internal DuckDB.
    • type: reload required
  • duckdb.max-concurrent-tasks
    • default: 10
    • description: The number of tasks can executed by Internal DuckDB parallelly.
    • type: static
  • duckdb.max-concurrent-queries
    • default: 10
    • description: The number of metadata query can be executed.
    • type: static