Skip to main content

Dremio Data Connector

Dremio server as a connector for federated SQL queries.

- from: dremio:datasets.dremio_dataset
name: dremio_dataset
params:
dremio_endpoint: grpc://127.0.0.1:32010
dremio_username: demo
dremio_password: ${secrets:my_dremio_pass}

Configuration​

  • dremio_endpoint: The endpoint used to connect to the Dremio server.
  • dremio_username: The username to connect with.
  • dremio_password: The password to connect with. Use the secret replacement syntax to load the password from a secret store, e.g. ${secrets:my_dremio_pass}.

Auth Example​

Check Secrets Stores for more details.

SPICE_DREMIO_USERNAME=demo \
SPICE_DREMIO_PASSWORD=demo1234 \
spice run
# Or using the CLI to configure the secrets into an `.env` file
spice login dremio -u demo -p demo1234

.env

SPICE_DREMIO_USERNAME=demo
SPICE_DREMIO_PASSWORD=demo1234

spicepod.yaml

version: v1beta1
kind: Spicepod
name: spice-app

secrets:
- from: env
name: env

datasets:
- from: dremio:datasets.dremio_dataset
name: dremio_dataset
params:
dremio_endpoint: grpc://1.2.3.4:32010
dremio_username: ${env:SPICE_DREMIO_USERNAME}
dremio_password: ${env:SPICE_DREMIO_PASSWORD}

Learn more about Env Secret Store.