mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-11-13 22:36:57 +00:00
fix(datatypes): keep frame flush guard clippy clean
Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com>
This commit is contained in:
@@ -303,10 +303,10 @@ impl RawSeriesChunkCursor {
|
||||
return Ok(Some(batch));
|
||||
}
|
||||
builder.push(row)?;
|
||||
if builder.is_full() {
|
||||
if let Some(batch) = builder.flush()? {
|
||||
return Ok(Some(batch));
|
||||
}
|
||||
if builder.is_full()
|
||||
&& let Some(batch) = builder.flush()?
|
||||
{
|
||||
return Ok(Some(batch));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user