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

[CLN] Cleanup frontend after query pushdown #3291

Merged
merged 1 commit into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions chromadb/execution/executor/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ def count(self, plan: CountPlan) -> int:
try:
count_result = executor.Count(convert.to_proto_count_plan(plan))
except grpc.RpcError as rpc_error:
if (
rpc_error.code() == grpc.StatusCode.INTERNAL
and "version mismatch" in rpc_error.details()
):
raise VersionMismatchError()
raise rpc_error
return convert.from_proto_count_result(count_result)

Expand All @@ -71,11 +66,6 @@ def get(self, plan: GetPlan) -> GetResult:
try:
get_result = executor.Get(convert.to_proto_get_plan(plan))
except grpc.RpcError as rpc_error:
if (
rpc_error.code() == grpc.StatusCode.INTERNAL
and "version mismatch" in rpc_error.details()
):
raise VersionMismatchError()
raise rpc_error
records = convert.from_proto_get_result(get_result)

Expand Down Expand Up @@ -118,11 +108,6 @@ def knn(self, plan: KNNPlan) -> QueryResult:
try:
knn_result = executor.KNN(convert.to_proto_knn_plan(plan))
except grpc.RpcError as rpc_error:
if (
rpc_error.code() == grpc.StatusCode.INTERNAL
and "version mismatch" in rpc_error.details()
):
raise VersionMismatchError()
raise rpc_error
results = convert.from_proto_knn_batch_result(knn_result)

Expand Down
Loading
Loading