Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage.properties file #337

Open
shoaibahmed9922 opened this issue Aug 30, 2024 · 1 comment
Open

storage.properties file #337

shoaibahmed9922 opened this issue Aug 30, 2024 · 1 comment

Comments

@shoaibahmed9922
Copy link

shoaibahmed9922 commented Aug 30, 2024

I can't see storage.properties catalog file in README for this plugin.
Can someone post a dummy catalog content here for me to use as a reference?
Thanks

@chgl
Copy link

chgl commented Aug 30, 2024

I had to scour the source code as well, but here's a dummy that worked for me with a custom s3 endpoint:

connector.name=storage
hive.s3.endpoint=https://s3.example.com
hive.s3.path-style-access=true
hive.s3.region=eu-central-1

(AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY are set as environment variables)

You can then do:

SELECT *
FROM storage.csv."s3a://test/data.csv";

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

No branches or pull requests

2 participants