Skip to content

Commit

Permalink
fix env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
sergisulca committed Feb 12, 2025
1 parent 27a7bc5 commit 54f0f3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions docs/pages/product/configuration/data-sources/pinot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ CUBEJS_DB_PASS=**********

## Environment Variables

| Environment Variable | Description | Possible Values | Required |
|-------------------------------|-------------------------------------------------------|---------------------|:--------:|
| `CUBEJS_DB_HOST` | The host URL for your Pinot broker | A valid host URL | βœ… |
| `CUBEJS_DB_PORT` | The port for the database connection | A valid port number | βœ… |
| `CUBEJS_DB_USER` | The username used to connect to the broker | A valid username | ❌ |
| `CUBEJS_DB_PASS` | The password used to connect to the broker | A valid password | ❌ |
| `CUBEJS_DB_NAME` | The database name for StarTree | A valid name | ❌ |
| `CUBEJS_DB_PINOT_NULL_HANDLING` | If `true`, enables null handling. Default is `false` | `true`, `false` | ❌ |
| `CUBEJS_DB_PINOT_AUTH_TOKEN` | The authentication token for StarTree | A valid token | ❌ |
| Environment Variable | Description | Possible Values | Required |
|---------------------------------|-------------------------------------------------------|---------------------|:--------:|
| `CUBEJS_DB_HOST` | The host URL for your Pinot broker | A valid host URL | βœ… |
| `CUBEJS_DB_PORT` | The port for the database connection | A valid port number | βœ… |
| `CUBEJS_DB_USER` | The username used to connect to the broker | A valid username | ❌ |
| `CUBEJS_DB_PASS` | The password used to connect to the broker | A valid password | ❌ |
| `CUBEJS_DB_NAME` | The database name for StarTree | A valid name | ❌ |
| `CUBEJS_DB_PINOT_NULL_HANDLING` | If `true`, enables null handling. Default is `false` | `true`, `false` | ❌ |
| `CUBEJS_DB_PINOT_AUTH_TOKEN` | The authentication token for StarTree | A valid token | ❌ |

## Pre-Aggregation Feature Support

Expand Down
2 changes: 1 addition & 1 deletion packages/cubejs-backend-shared/src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1798,7 +1798,7 @@ const variables: Record<string, (...args: any) => any> = {
throw new TypeError(
`The ${
keyByDataSource(
'CUBEJS_DB_NULL_HANDLING',
'CUBEJS_DB_PINOT_NULL_HANDLING',
dataSource,
)
} must be either 'true' or 'false'.`
Expand Down

0 comments on commit 54f0f3e

Please sign in to comment.