Closed sundy-li closed 23 hours ago
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
using const UNKNOWN_LEN: u64 = u64::MAX to track with the total_bytes_len was a bad idea cause it may introduce overflow during add/sub.
const UNKNOWN_LEN: u64 = u64::MAX
closes #16880
This change isโ
I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/
Summary
using
const UNKNOWN_LEN: u64 = u64::MAX
to track with the total_bytes_len was a bad idea cause it may introduce overflow during add/sub.closes #16880
Tests
Type of change
This change isโ