Skip to content

Commit

Permalink
[destination-astra] Explicit projection when reading from Astra DB (#…
Browse files Browse the repository at this point in the history
…38181)

Co-authored-by: marcosmarxm <marcosmarxm@gmail.com>
  • Loading branch information
hemidactylus and marcosmarxm authored Jun 5, 2024
1 parent a2bee09 commit 09cec53
Show file tree
Hide file tree
Showing 5 changed files with 381 additions and 403 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ def find_documents(

if include_vector is not None and include_vector == False:
find_query["projection"] = {"$vector": 0}
else:
find_query["projection"] = {"*": 1}

if limit is not None:
find_query["options"] = {"limit": limit}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ data:
connectorSubtype: database
connectorType: destination
definitionId: 042ce96f-1158-4662-9543-e2ff015be97a
dockerImageTag: 0.1.3
dockerImageTag: 0.1.4
dockerRepository: airbyte/destination-astra
githubIssueLabel: destination-astra
icon: astra.svg
Expand Down
Loading

0 comments on commit 09cec53

Please sign in to comment.