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

Update to include isntuser and also enable SS3 Encryp #1320

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ssenathi
Copy link

@ssenathi ssenathi commented Jun 9, 2023

Looks like SQLServer Adapter is filtering of issqluser=1 for databases. In my work, the database owner is of type isntuser ( i.e. The owner logs via NT system login) and thus i was not able to see any databases.

Also i have enabled default SSE ( server side encryption) for Spill as that is considered a requirement for many organizations.

@@ -362,6 +362,7 @@ protected SpillLocation write(Block block)
// only sees the InputStream wrapper.
ObjectMetadata objMeta = new ObjectMetadata();
objMeta.setContentLength(bytes.length);
objMeta.setSSEAlgorithm(ObjectMetadata.AES_256_SERVER_SIDE_ENCRYPTION);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not necessary, just use this environment variable with this value:

spill_put_request_headers = {"x-amz-server-side-encryption" : "AES256"}

https://docs.aws.amazon.com/athena/latest/ug/connectors-cloudera-impala.html

Copy link
Author

Choose a reason for hiding this comment

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

Thanks that make sense

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.

2 participants