Skip to content

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)

@netlify
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 Use to trigger CI on a PR for full load tests 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
@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 Use to trigger CI on a PR for full load tests

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants