-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
AWS Glue: BIGQUERY connection type support #5247
Comments
Our team decided to use spark-bigquery-connector in AWS Glue instead, so this issue is no longer necessary for us. Feel free to close this if no one has interest. |
Hi @ksauzz , The SDK is code generated from the API model of each service. In this case, the source of truth for the enum type the SDK uses is the internal API model for glue which does not specify BIGQUERY as a valid enum value for
The API version date you see here is when this major version was released, and is not related to when it was last updated. Since AFAIK Glue only has one major version supported, 2017-03-31 is when this major version was released. From reading the blogpost I can see that this is indeed supported, but from an API operation perspective I don't see that BIGQUERY is mentioned anywhere under I will reach out to confirm with the Glue team if this needs to be added and if so I'll have them update their model to include it. Thanks, |
Thank you for the explanation in detail. |
Hi there, I was not able to get a confirmation from the Glue team on whether this is the intended value for this enum or whether this value has service side support to begin with. If anyone is running into this issue in the future, please open a separate issue on our v2 SDK repository issue queue. Thanks, |
Comments on closed issues are hard for our team to see. |
I think some users want to manage BIGQUERY connection type through terraform involving aws-sdk-go v1, as well as v2 someday. So even without updating API model, just removing client-side validation for the enum would help them. Thanks. |
Describe the bug
aws-sdk-go doesn't accept
BIGQUERY
as connection type because API specification file seems too old.According to the blog post, AWS Glue has suppported
BIGQUERY
since Oct 2023, but the API version is 2017-03-31.Expected Behavior
aws-sdk-go accepts BIGQUERY as connection type.
Current Behavior
Error: expected connection_type to be one of ["JDBC" "SFTP" "MONGODB" "KAFKA" "NETWORK" "MARKETPLACE" "CUSTOM"], got BIGQUERY
Reproduction Steps
See API Model.
https://github.com/aws/aws-sdk-go/blob/main/models/apis/glue/2017-03-31/api-2.json#L4942-L4953
Possible Solution
Update
models/apis/glue/2017-03-31
to the latest one, and runmake generate
Additional Information/Context
I couldn't find any newer glue API model in any SDK repositories.
SDK version used
1.51.31
Environment details (Version of Go (
go version
)? OS name and version, etc.)all environment.
The text was updated successfully, but these errors were encountered: