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

fix: use the same interface #981

Merged
merged 1 commit into from
Aug 29, 2023
Merged

fix: use the same interface #981

merged 1 commit into from
Aug 29, 2023

Conversation

jiashenC
Copy link
Member

  • Add some missing qdrant marker and check actual existence of qdrant.
  • In-sync with interface.

batch_list = list(output)
return Batch.concat(batch_list, copy=False)


def execute_query(
Copy link
Collaborator

Choose a reason for hiding this comment

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

What is the difference between execute_query, execute_query_fetch_all and execute_statement now? It seems that they all do the same thing. I think originally execute_query is returning a generator, which intends to be used to implement fetch_all, fetch_one, though we never implemented fetch_one.

Copy link
Member

Choose a reason for hiding this comment

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

Surpassing this comment as this is breaking the build, and we need to hot fix it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure the original design intension. execute_statement takes a statement as its argument so I just converted to an inner function of execute_query.

@gaurav274 gaurav274 merged commit 4581e02 into staging Aug 29, 2023
4 checks passed
@gaurav274 gaurav274 deleted the fix-interface branch August 29, 2023 03:48
@jiashenC jiashenC added this to the v0.3.3 milestone Aug 30, 2023
@jiashenC jiashenC added the Bug 🐞 EVA is not working as expected label Aug 30, 2023
@jiashenC jiashenC self-assigned this Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 EVA is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants