Skip to content

Commit

Permalink
Remove unnecessary logging (#689)
Browse files Browse the repository at this point in the history
Signed-off-by: Vijayan Balasubramanian <[email protected]>
  • Loading branch information
VijayanB authored Nov 7, 2024
1 parent 464d2f4 commit 3ff5f24
Showing 1 changed file with 0 additions and 9 deletions.
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

0 comments on commit 3ff5f24

Please sign in to comment.