Skip to content

Conversation

@kylebarron
Copy link
Member

@kylebarron kylebarron commented Nov 8, 2024

This is failing with

GenericError: Generic S3 error: Error performing list request: Client error with status 403 Forbidden: <?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>There were headers present in the request which were not signed</Message><HeadersNotSigned>x-amz-request-payer</HeadersNotSigned><RequestId>QEA9RD5BETE6BN7E</RequestId><HostId>tfgEYvVBmWEx5EZljTRXuR6S6ocChjas5qF8eXThc0yt6bRyGEJCYjCFJ+/YOvA2Q2DT/NSqBTw=</HostId></Error>

We should open an issue in object_store

Closes apache/datafusion#81

Comment on lines +90 to +102
// use pyo3::prelude::*;
// use pyo3::types::PyDict;

// #[pyfunction]
// #[pyo3(signature = (**kwds))]
// fn num_kwds(kwds: Option<&Bound<'_, PyDict>>) -> usize {
// kwds.map_or(0, |dict| dict.len())
// }

// #[pymodule]
// fn module_with_functions(m: &Bound<'_, PyModule>) -> PyResult<()> {
// m.add_function(wrap_pyfunction!(num_kwds, m)?)
// }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete


impl<'py> FromPyObject<'py> for PyHeaderName {
fn extract_bound(ob: &Bound<'py, PyAny>) -> PyResult<Self> {
// TODO: check that this works on both str and bytes input
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This currently only works on bytes

@kylebarron
Copy link
Member Author

Made an upstream issue in arrow-rs: apache/arrow-rs-object-store#38

@kylebarron
Copy link
Member Author

The upstream PR was now merged! apache/arrow-rs#6768 (comment)

@vincentsarago
Copy link
Member

@kylebarron should be pickup on this? 🙏

@kylebarron
Copy link
Member Author

Superseded by apache/arrow-rs#131

@kylebarron kylebarron closed this Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for explicit casts between signed and unsigned ints

3 participants