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

Remove unnecessary logging #689

Merged
merged 1 commit into from
Nov 7, 2024
Merged
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
9 changes: 0 additions & 9 deletions osbenchmark/workload/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1122,11 +1122,6 @@ def _update_body_params(self, vector):
body_params = self.query_params.get(self.PARAMS_NAME_BODY) or dict()
if self.PARAMS_NAME_SIZE not in body_params:
body_params[self.PARAMS_NAME_SIZE] = self.k
if self.PARAMS_NAME_QUERY in body_params:
self.logger.warning(
"[%s] param from body will be replaced with vector search query.", self.PARAMS_NAME_QUERY)

self.logger.info("Here, we have query_params: %s ", self.query_params)
filter_type=self.query_params.get(self.PARAMS_NAME_FILTER_TYPE)
filter_body=self.query_params.get(self.PARAMS_NAME_FILTER_BODY)
efficient_filter = filter_body if filter_type == "efficient" else None
Expand Down Expand Up @@ -1326,8 +1321,6 @@ def bulk_transform_add_attributes(self, partition: np.ndarray, action, attribute
bulk_contents.append(row)

actions[1::2] = bulk_contents

self.logger.info("Actions: %s", actions)
return actions


Expand All @@ -1353,8 +1346,6 @@ def bulk_transform_non_nested(self, partition: np.ndarray, action) -> List[Dict[
bulk_contents.append(row)

actions[1::2] = bulk_contents

self.logger.info("Actions: %s", actions)
return actions


Expand Down
Loading