diff --git a/docs/pages/reference/configuration/environment-variables.mdx b/docs/pages/reference/configuration/environment-variables.mdx index 4e7d712972f1d..82b1281e7050c 100644 --- a/docs/pages/reference/configuration/environment-variables.mdx +++ b/docs/pages/reference/configuration/environment-variables.mdx @@ -1301,6 +1301,15 @@ If `true`, then use WebSocket for data fetching. | --------------- | ---------------------- | --------------------- | | `true`, `false` | `true` | `true` | +## `CUBEJS_TESSERACT_ORCHESTRATOR` + +If `true`, enables performance optimizations in the query orchestrator, +such as deserializing Cube Store result sets in native Rust code. + +| Possible Values | Default in Development | Default in Production | +| --------------- | ---------------------- | --------------------- | +| `true`, `false` | `true` | `true` | + ## `CUBESTORE_AWS_ACCESS_KEY_ID` The Access Key ID for AWS. Required when using AWS S3. diff --git a/packages/cubejs-backend-shared/src/env.ts b/packages/cubejs-backend-shared/src/env.ts index eaad63fc5d03f..41f9b2e46c9e2 100644 --- a/packages/cubejs-backend-shared/src/env.ts +++ b/packages/cubejs-backend-shared/src/env.ts @@ -221,7 +221,7 @@ const variables: Record any> = { .asInt(), nativeSqlPlanner: () => get('CUBEJS_TESSERACT_SQL_PLANNER').default('false').asBool(), nativeOrchestrator: () => get('CUBEJS_TESSERACT_ORCHESTRATOR') - .default('false') + .default('true') .asBoolStrict(), transpilationWorkerThreads: () => get('CUBEJS_TRANSPILATION_WORKER_THREADS') .default('false')