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

Partially revert #532 #535

Merged
merged 1 commit into from
Sep 10, 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
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
aiohttp~=3.8
v3io~=0.6.9
v3io~=0.6.10
# exclude pandas 1.5.0 due to https://github.com/pandas-dev/pandas/issues/48767
# and 1.5.* due to https://github.com/pandas-dev/pandas/issues/49203
# pandas 2.2 requires sqlalchemy 2
Expand Down
4 changes: 3 additions & 1 deletion storey/drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,9 @@ def _build_simplified_feature_store_request(self, aggregation_element):

if use_parallel:
for attr_name, d in pexpressions.items():
encoded_array = kv_array.encode_list(d["values"][d["first_index"] : d["last_index"] + 1])
encoded_array = kv_array.encode_list(d["values"][d["first_index"] : d["last_index"] + 1]).decode(
"utf-8"
)
paggregate = self.parallel_aggregates[d["aggregation"]]
sliced_array = f'{attr_name}[{d["first_index"]}..{d["last_index"]}]'
expressions.append(f"{sliced_array}={paggregate}({sliced_array}, blob('{encoded_array}'))")
Expand Down
Loading