{"record":{"id":"f270f97956e2e0a2","repo":"rustfs/rustfs","slug":"unsupportedsqloperation","errorCode":"UnsupportedSqlOperation","errorMessage":"We encountered an unsupported SQL operation.","messagePattern":"We encountered an unsupported SQL operation\\.","errorType":"http","errorClass":"SelectError","httpStatus":400,"severity":"error","filePath":"crates/s3select-api/src/lib.rs","lineNumber":115,"sourceCode":"    #[error(\"{message}\")]\n    ParseSelectFailure { message: String },\n\n    #[error(\"The SQL expression is invalid.\")]\n    InvalidQuery,\n\n    #[error(\"The SQL expression contains a data type that is not valid.\")]\n    InvalidDataType,\n\n    #[error(\"An incorrect argument type was specified in a function call in the SQL expression.\")]\n    IncorrectSqlFunctionArgumentType,\n\n    #[error(\"The data source path in the SQL expression is not supported.\")]\n    DataSourcePathUnsupported,\n\n    #[error(\"Unsupported S3 Select SQL structure: {message}\")]\n    UnsupportedSqlStructure { message: String },\n\n    #[error(\"We encountered an unsupported SQL operation.\")]\n    UnsupportedSqlOperation,\n\n    #[error(\"A column name or a path provided does not exist in the SQL expression.\")]\n    EvaluatorBindingDoesNotExist,\n\n    #[error(\"The field name matches to multiple fields in the file. Check the SQL expression and the file, and try again.\")]\n    AmbiguousFieldName,\n\n    #[error(\"The value of a parameter in ScanRange element is invalid. Check the service API documentation and try again.\")]\n    InvalidScanRange,\n\n    #[error(\"S3 Select query concurrency limit reached\")]\n    QueryConcurrencyLimit,\n\n    #[error(\"S3 Select query exceeded the {seconds}-second execution limit\")]\n    QueryTimeout { seconds: u64 },\n\n    #[error(\"S3 Select query resource limit exceeded\")]","sourceCodeStart":97,"sourceCodeEnd":133,"githubUrl":"https://github.com/rustfs/rustfs/blob/35af688cd9d41b4346fbe27dcf7250ba72046c1f/crates/s3select-api/src/lib.rs#L97-L133","documentation":"The parsed SQL uses an operation the S3 Select engine does not implement (e.g. unsupported aggregate, alias, or clause semantics). Fires at query planning; the request is rejected per S3 Select compatibility limits rather than answered.","triggerScenarios":"Thrown at crates/s3select-api/src/lib.rs:115 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Replace the unsupported operation with a supported equivalent","Download and process the object client-side instead"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35af688cd9d41b4346fbe27dcf7250ba72046c1f","analyzedAt":"2026-08-20T21:57:04.799Z","contentChangedAt":"2026-08-20T21:57:04.799Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}