:wave: I am seeing the following error with native...
# general
g
👋 I am seeing the following error with native parquet writer on
0.5.9
, goes away if I set
native_parquet_writer=False
, I am using
anonymous
(we use alternative way to authenticate in k8s)
Copy code
daft.exceptions.DaftCoreException: DaftError::External task 6617 panicked with message "Failed to create S3 multipart writer: Generic { store: S3, source: UploadsCannotBeAnonymous }"
👀 1
s
I see! Tagging @Desmond Cheong and @Rohit Kulshreshtha who worked on it
c
We return these "UploadsCannotBeAnonymous" errors in the s3 client for puts and multipart uploads. https://github.com/Eventual-Inc/Daft/blob/fdebb15ea90dbbb484dbc58b34181c3e2d70a26b/src/daft-io/src/s3_like.rs#L1019 Looks like this was originally added here: https://github.com/Eventual-Inc/Daft/pull/2461/files#diff-db5f372ab31f29631d764bda08d0236bf240e6af0aba4b4c0c2ecbddba5ec5c3R120-R121 by @jay Do you or @Desmond Cheong know why?
j
Hmmmm I think maybe I just misunderstood S3 and thought that puts could not be anonymous Seems like they should be allowed to be! 🫣
d
I'm curious @Garrett Weaver what's the alternative way to authenticate?
g
Our storage team has setup a way to configure permissions for a bucket based on k8s namespace and service account where the S3 requests are coming from that avoids the need to load s3 keys from secrets
d
Ah interesting. Seems like an incorrect assumption on our part then, let's remove check