Nethsara
05/26/2024, 8:16 AMconn = duckdb.connect()
conn.execute("INSTALL httpfs")
conn.execute("LOAD httpfs")
conn.execute(_f_"SET s3_region='{aws_region}'")
conn.execute(_f_"SET s3_endpoint='{lakefs_endpoint}'")
conn.execute("SET s3_url_style='vhost'")
conn.execute(_f_"SET s3_access_key_id='{aws_access_key_id}'")
conn.execute(_f_"SET s3_secret_access_key='{aws_secret_access_key}'")
conn.execute("SET s3_use_ssl=false")
When I do something like :
query = "SELECT * FROM read_parquet('<s3://mys3/main/**/*.snappy.parquet>');"
resp = conn.execute(query).fetchall()
I am getting some error like
HTTP Error: HTTP GET error on '/mys3/?encoding-type=url&list-type=2&prefix=main%2F' (HTTP 403)
What could be the cause of this?Niro
05/26/2024, 9:10 AMOz Katz