We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to override the athena endpoint like s3 or dynamo can be overridden?
The text was updated successfully, but these errors were encountered:
@keshav-1835i Can you please give an example of s3/dynamo endpoints getting overridden?
Sorry, something went wrong.
Something like this when I want to connect to a local instance of dynamo.
customResolver := aws.EndpointResolverWithOptionsFunc(func(service, region string, options ...interface{}) (aws.Endpoint, error) { return aws.Endpoint{ URL: endpoint, }, nil }) cfg, _ := config.LoadDefaultConfig(context.Background(), config.WithRegion(region), config.WithCredentialsProvider( credentials.NewStaticCredentialsProvider(accessKey, secret, ""), ), config.WithEndpointResolverWithOptions(customResolver))
value of endpoint is "http://localhost:8000"
I am trying to simulate local athena with hadoop and presto/trino running locally and hence the question
henrywoo
No branches or pull requests
Is there a way to override the athena endpoint like s3 or dynamo can be overridden?
The text was updated successfully, but these errors were encountered: