-
Notifications
You must be signed in to change notification settings - Fork 196
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
Conversation
✅ Deploy Preview for dlt-hub-docs canceled.
|
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: |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
d2c8f28
to
76728ba
Compare
Description
Adds naming convention docs, missing tests and is implementing #919 (to get normalized staging dataset name without hacks)