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

Allow specification of Snowflake schema and database #63

Merged

Conversation

hcpadkins
Copy link
Contributor

@hcpadkins hcpadkins commented Oct 8, 2024

Overview

This pull-request allows users to specify the schema and database for the Snowflake connector. It also increases the number of records per batch to 1000, and reduces the amount of data collected from QUERY_HISTORY for the first time to the last hour only.

This is due to the volume of data present in this table usually being very high, so auditing will only effectively start from the time that Grove is first deployed.

Finally, this pull-request allows the use of internal Pydantic field names in connector configuration documents. This is required due to the new schema field name - which is the name of a method internal to Pydantic. This is a hack, which can be removed once we update Grove to Pydantic >= 2.

@hcpadkins hcpadkins requested a review from a team as a code owner October 8, 2024 17:13
@hcpadkins hcpadkins changed the base branch from main to hcpadkins/version-bump October 8, 2024 17:13
@hcpadkins hcpadkins changed the base branch from hcpadkins/version-bump to main October 8, 2024 17:13
@hcpadkins hcpadkins force-pushed the hcpadkins/snowflake-config branch from a5fbb06 to 45b5541 Compare October 8, 2024 17:51
@hcpadkins hcpadkins merged commit 471a3c6 into hashicorp-forge:main Oct 8, 2024
6 checks passed
@hcpadkins hcpadkins deleted the hcpadkins/snowflake-config branch October 8, 2024 18:03
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