Skip to content

Commit

Permalink
bumped block row limit from 1M to 10B (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ye11ow authored Nov 8, 2022
1 parent fc92dc7 commit 775922b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/proto/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ func (b *Block) Decode(decoder *binary.Decoder, revision uint64) (err error) {
if numRows, err = decoder.Uvarint(); err != nil {
return err
}
if numRows > 1_000_000 {
if numRows > 10_000_000_000 {
return &BlockError{
Op: "Decode",
Err: errors.New("more then 1 000 000 rows in block"),
Err: errors.New("more than 10,000,000,000 rows in block"),
}
}
b.Columns = make([]column.Interface, 0, numCols)
Expand Down

0 comments on commit 775922b

Please sign in to comment.