{"record":{"id":"5aca413b303775fb","repo":"risingwavelabs/risingwave","slug":"starrocks-error-0","errorCode":null,"errorMessage":"Starrocks error: {0}","messagePattern":"Starrocks error: (.+?)","errorType":"exception","errorClass":"SinkError","httpStatus":null,"severity":"error","filePath":"src/connector/src/sink/mod.rs","lineNumber":1180,"sourceCode":"    #[error(\"DeltaLake error: {0}\")]\n    DeltaLake(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"LanceDB error: {0}\")]\n    LanceDb(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"ElasticSearch/OpenSearch error: {0}\")]\n    ElasticSearchOpenSearch(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"Starrocks error: {0}\")]\n    Starrocks(String),\n    #[error(\"File error: {0}\")]\n    File(String),\n    #[error(\"Pulsar error: {0}\")]\n    Pulsar(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(transparent)]\n    Internal(\n        #[from]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"BigQuery error: {0}\")]\n    BigQuery(\n        #[source]","sourceCodeStart":1162,"sourceCodeEnd":1198,"githubUrl":"https://github.com/risingwavelabs/risingwave/blob/6469eb736d691e8e9b8a419a57edd6429ca77417/src/connector/src/sink/mod.rs#L1162-L1198","documentation":"A SinkError variant carrying a plain String for Starrocks-specific sink failures after connecting. Raised when Starrocks rejects the sink's operations, e.g. stream load failures or unsupported configuration.","triggerScenarios":"Stream load transactions rejected by Starrocks FE/BE, invalid sink properties, schema incompatibilities with the Starrocks (Primary Key) table.","commonSituations":"Starrocks table lacks a primary key for upsert sinks, wrong warehouse/db config, version too old for required stream load features, BE disk full.","solutions":["Read the wrapped message for Starrocks' reported cause.","Verify the Starrocks table is a Primary Key table when using upsert sink.","Check stream load configuration (load properties, timeouts) and BE health/disk space.","Validate all WITH options against the Starrocks connector documentation."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":"SHOW CREATE TABLE db.t; -- confirm Primary Key table when using upsert sink","typeGuard":null,"tryCatchPattern":"if let SinkError::Starrocks(msg) = err { log::error!(\"starrocks: {msg}\"); /* fix load properties/schema, then retry */ }","preventionTips":["Use Primary Key tables for upsert sinks","Validate load properties and version compatibility with Starrocks docs","Monitor BE disk usage and load history"],"tags":["sink","starrocks","stream-load"],"backgroundTag":"upstream-api-error","analyzedSha":"6469eb736d691e8e9b8a419a57edd6429ca77417","analyzedAt":"2026-09-11T21:06:21.487Z","contentChangedAt":"2026-09-11T21:06:21.487Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}