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

adds missing docs / tests and configurable staging dataset name #1555

Merged
merged 5 commits into from
Jul 8, 2024

Conversation

rudolfix
Copy link
Collaborator

@rudolfix rudolfix commented Jul 7, 2024

Description

Adds naming convention docs, missing tests and is implementing #919 (to get normalized staging dataset name without hacks)

Copy link

netlify bot commented Jul 7, 2024

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 76728ba
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/668bd541663d120008ac96ad

@rudolfix rudolfix added the sprint Marks group of tasks with core team focus at this moment label Jul 8, 2024
@rudolfix rudolfix self-assigned this Jul 8, 2024
@rudolfix rudolfix requested a review from sh-rp July 8, 2024 08:51
@rudolfix rudolfix added the ci full run the full load tests on pr label Jul 8, 2024
if "%s" in self.staging_dataset_name_layout:
# if dataset name is empty, staging dataset name is also empty
dataset_name = self._make_dataset_name(schema.name)
if not dataset_name:
Copy link
Collaborator

@sh-rp sh-rp Jul 8, 2024

Choose a reason for hiding this comment

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

does this ever happen? I'm reading the code and trying to understand the mechanism, but in which case would the result of _make_dataset_name be None? Should't self.dataset_name always be set?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yes - in vector databases you can work on collections without dataset prefix. they override configuration making that field optional. btw. we should support that as well in clickhouse or dremio where we do not have schemas as well

sh-rp
sh-rp previously approved these changes Jul 8, 2024
@rudolfix rudolfix force-pushed the feat/1486-docs-tests-update-0.5-staging branch from d2c8f28 to 76728ba Compare July 8, 2024 12:02
@rudolfix rudolfix merged commit 4ec728f into devel Jul 8, 2024
49 of 52 checks passed
@rudolfix rudolfix deleted the feat/1486-docs-tests-update-0.5-staging branch July 8, 2024 13:20
@rudolfix rudolfix removed the sprint Marks group of tasks with core team focus at this moment label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci full run the full load tests on pr
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants