{"record":{"id":"5e8b7da5db38ed81","repo":"mem0ai/mem0","slug":"databricks-storage-optimized-endpoints-only-suppor","errorCode":null,"errorMessage":"Databricks storage-optimized endpoints only support TRIGGERED pipelineType.","messagePattern":"Databricks storage-optimized endpoints only support TRIGGERED pipelineType\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"mem0-ts/src/oss/src/vector_stores/databricks.ts","lineNumber":494,"sourceCode":"      \"collectionName\",\n    );\n    this.tableName = validateIdentifier(\n      config.tableName || this.indexName,\n      \"tableName\",\n    );\n    this.fullTableName = `${this.catalog}.${this.schema}.${this.tableName}`;\n    this.fullIndexName = `${this.catalog}.${this.schema}.${this.indexName}`;\n    this.syncPollIntervalMs =\n      config.syncPollIntervalMs ?? DEFAULT_SYNC_POLL_INTERVAL_MS;\n    this.syncTimeoutMs = config.syncTimeoutMs ?? DEFAULT_SYNC_TIMEOUT_MS;\n    this.sqlClient = config.sqlClient ?? null;\n    this.httpClient = config.httpClient || this.createHttpClient();\n\n    if (\n      this.endpointType === \"STORAGE_OPTIMIZED\" &&\n      this.pipelineType !== \"TRIGGERED\"\n    ) {\n      throw new Error(\n        \"Databricks storage-optimized endpoints only support TRIGGERED pipelineType.\",\n      );\n    }\n\n    if (\n      this.endpointType === \"STORAGE_OPTIMIZED\" &&\n      this.dimension % 16 !== 0\n    ) {\n      throw new Error(\n        \"Databricks storage-optimized endpoints require dimensions divisible by 16.\",\n      );\n    }\n\n    this.initialize().catch(console.error);\n  }\n\n  async initialize(): Promise<void> {\n    if (!this._initPromise) {","sourceCodeStart":476,"sourceCodeEnd":512,"githubUrl":"https://github.com/mem0ai/mem0/blob/001c235229be8795e3834520467bd0d661ed8f34/mem0-ts/src/oss/src/vector_stores/databricks.ts#L476-L512","documentation":"Databricks Vector Search endpoints of type STORAGE_OPTIMIZED only support TRIGGERED pipelines; continuous (CONTINUOUS) syncing is not available for them. The constructor validates this combination and throws at store creation.","triggerScenarios":"Configuring the store with endpointType: 'STORAGE_OPTIMIZED' and pipelineType: 'CONTINUOUS' (or any value other than 'TRIGGERED').","commonSituations":"Copying a config from a STANDARD endpoint that used CONTINUOUS sync and switching endpointType; defaulting pipelineType to CONTINUOUS for freshness and then choosing storage-optimized for cost.","solutions":["Set pipelineType: 'TRIGGERED' when using endpointType: 'STORAGE_OPTIMIZED'","Or keep CONTINUOUS pipelines by using endpointType: 'STANDARD'","If you need near-real-time sync, STORAGE_OPTIMIZED is not an option — call requestIndexSync() manually after writes with TRIGGERED"],"exampleFix":"// before\nnew Databricks({ endpointType: 'STORAGE_OPTIMIZED', pipelineType: 'CONTINUOUS', ... });\n\n// after\nnew Databricks({ endpointType: 'STORAGE_OPTIMIZED', pipelineType: 'TRIGGERED', ... });","handlingStrategy":"validation","validationCode":"if (cfg.endpointType === 'STORAGE_OPTIMIZED' && cfg.pipelineType !== 'TRIGGERED') {\n  throw new Error('STORAGE_OPTIMIZED requires pipelineType TRIGGERED');\n}","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Pin pipelineType explicitly in config instead of relying on defaults","Review Databricks docs for endpoint-type constraints before switching endpointType"],"tags":["databricks","configuration","vector-search","typescript"],"backgroundTag":null,"analyzedSha":"001c235229be8795e3834520467bd0d661ed8f34","analyzedAt":"2026-08-15T01:55:42.685Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}