-
Notifications
You must be signed in to change notification settings - Fork 228
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
Fix/qdrant tests in CI #1526
Fix/qdrant tests in CI #1526
Conversation
✅ Deploy Preview for dlt-hub-docs canceled.
|
if config.credentials.is_local(): | ||
# Local qdrant can not load in parallel | ||
caps.loader_parallelism_strategy = "sequential" | ||
caps.max_parallel_load_jobs = 1 |
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.
workaround for local qdrant, it is not thread safe
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.
very true! this is why this capability got added :)
259c866
to
faab3c0
Compare
# sync the schema | ||
p.sync_schema() | ||
# check if schema exists |
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.
Local qdrant uses flock and can't handle more than one instance of client, why I moved all the pipeline operations out of with destination_client()
scope
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.
LGTM! I can't find where you test local (not server) quadrant. the test suite seems to be run only once
if config.credentials.is_local(): | ||
# Local qdrant can not load in parallel | ||
caps.loader_parallelism_strategy = "sequential" | ||
caps.max_parallel_load_jobs = 1 |
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.
very true! this is why this capability got added :)
@@ -63,6 +63,28 @@ class StorageSchemaInfo(NamedTuple): | |||
inserted_at: datetime.datetime | |||
schema: str | |||
|
|||
@classmethod | |||
def from_normalized_mapping( |
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.
this is good!
I just added two destination configs so they both run together. (see
|
50e6519
to
a011523
Compare
Description
Related Issues
Additional Context