Skip to content

feat(metadata): provide db version #845

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

Merged
merged 1 commit into from
Oct 24, 2024
Merged

Conversation

grieve54706
Copy link
Contributor

Add new API /v2/connector/{data_source}/metadata/version to provide the DB version.
The request body follows other metadata APIs.

@grieve54706 grieve54706 requested a review from goldmedal October 24, 2024 04:05
@github-actions github-actions bot added ibis python Pull requests that update Python code labels Oct 24, 2024
@grieve54706 grieve54706 force-pushed the feature/provide-db-version branch 2 times, most recently from 7fe6635 to fd5deda Compare October 24, 2024 04:31
@grieve54706 grieve54706 force-pushed the feature/provide-db-version branch from fd5deda to 21030aa Compare October 24, 2024 07:20
json={"connectionInfo": connection_info},
)
assert response.status_code == 200
assert response.text is not None
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it possible to assert the version text? or is it not a static value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use the head tag. It is not a static version.

Copy link
Contributor

Choose a reason for hiding this comment

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

I see. Thanks

json={"connectionInfo": connection_info},
)
assert response.status_code == 200
assert response.text is not None
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as the issue for clickhouse.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use the latest tag. It is not a static version.

Copy link
Contributor

@goldmedal goldmedal left a comment

Choose a reason for hiding this comment

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

Thanks @grieve54706 -- It makes sense to me. 👍

@goldmedal goldmedal merged commit e98f970 into main Oct 24, 2024
7 checks passed
@goldmedal goldmedal deleted the feature/provide-db-version branch October 24, 2024 08:22
grieve54706 added a commit that referenced this pull request Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bigquery ibis python Pull requests that update Python code trino
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants