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

feat: don't store duplicated message columns #581

Merged
merged 1 commit into from
Jan 29, 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
6 changes: 0 additions & 6 deletions autopush-common/src/db/bigtable/bigtable_client/merge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ impl RowMerger {
/// Iterate through all the returned chunks and compile them into a hash of finished cells indexed by row_key
pub async fn process_chunks(
mut stream: ClientSStreamReceiver<ReadRowsResponse>,
limit: Option<usize>,
) -> Result<BTreeMap<RowKey, Row>, BigTableError> {
// Work object
let mut merger = Self::default();
Expand All @@ -385,11 +384,6 @@ impl RowMerger {
let mut rows = BTreeMap::<RowKey, Row>::new();

while let (Some(row_resp_res), s) = stream.into_future().await {
if let Some(limit) = limit {
if limit > 0 && rows.len() > limit {
break;
}
}
stream = s;
let row = match row_resp_res {
Ok(v) => v,
Expand Down
Loading