{"record":{"id":"d861ef9551530bec","repo":"risingwavelabs/risingwave","slug":"sql-server-error-0","errorCode":null,"errorMessage":"SQL Server error: {0}","messagePattern":"SQL Server error: (.+?)","errorType":"exception","errorClass":"SinkError","httpStatus":null,"severity":"error","filePath":"src/connector/src/sink/mod.rs","lineNumber":1208,"sourceCode":"    #[error(transparent)]\n    Internal(\n        #[from]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"BigQuery error: {0}\")]\n    BigQuery(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"DynamoDB error: {0}\")]\n    DynamoDb(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"SQL Server error: {0}\")]\n    SqlServer(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"Postgres error: {0}\")]\n    Postgres(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(transparent)]\n    Connector(\n        #[from]\n        #[backtrace]\n        ConnectorError,\n    ),\n    #[error(\"Secret error: {0}\")]","sourceCodeStart":1190,"sourceCodeEnd":1226,"githubUrl":"https://github.com/risingwavelabs/risingwave/blob/6469eb736d691e8e9b8a419a57edd6429ca77417/src/connector/src/sink/mod.rs#L1190-L1226","documentation":"Sentinel variant of the SinkError enum wrapping any anyhow error raised by the SQL Server sink connector. It is applied uniformly to all SQL Server-specific failures (connection, query execution, bulk copy) so downstream code can classify the sink backend by variant; the inner anyhow error holds details.","triggerScenarios":"Thrown at src/connector/src/sink/mod.rs:1208 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped anyhow error for the underlying SQL Server failure (connection, TDS protocol, query errors).","Verify connection string, credentials, and network reachability to the SQL Server instance.","Check server-side errors such as lock timeouts or invalid schema and fix the sink mapping accordingly."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"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"}