You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "TennyZhuang (via GitHub)" <gi...@apache.org> on 2025/02/15 04:26:08 UTC
[I] bug: operation not supported when calling BlockingOperator::read on s3 service [opendal]
TennyZhuang opened a new issue, #5630:
URL: https://github.com/apache/opendal/issues/5630
### Describe the bug
```
---- tests::test_read_universe stdout ----
thread 'tests::test_read_universe' panicked at src/main.rs:337:72:
called `Result::unwrap()` on an `Err` value: Unsupported (permanent) at blocking_stat, context: { service: s3, path: *** } => operation is not supported
```
### Steps to Reproduce
Read any s3 object using `opendal::BlockingOperator`
```
thread_local! {
static OPERATOR: opendal::BlockingOperator = opendal::Operator::new(opendal::services::S3::default()
.bucket("**"))
.unwrap()
.finish()
.blocking();
}
let key = format!("***");
let buf = OPERATOR.with(|op| op.read(&key))?;
let v: Vec<String> = serde_json::from_reader(buf.reader())?;
Ok(v)
```
### Expected Behavior
Read the object correctly
### Additional Context
_No response_
### Are you willing to submit a PR to fix this bug?
- [ ] Yes, I would like to submit a PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: operation not supported when calling BlockingOperator::read on s3 service [opendal]
Posted by "TennyZhuang (via GitHub)" <gi...@apache.org>.
TennyZhuang closed issue #5630: bug: operation not supported when calling BlockingOperator::read on s3 service
URL: https://github.com/apache/opendal/issues/5630
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] bug: operation not supported when calling BlockingOperator::read on s3 service [opendal]
Posted by "TennyZhuang (via GitHub)" <gi...@apache.org>.
TennyZhuang commented on issue #5630:
URL: https://github.com/apache/opendal/issues/5630#issuecomment-2660721725
Found the feature `layers-blocking`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org