Skip to content

Commit

Permalink
Merge pull request #487 from firetaker/firetaker-patch-1
Browse files Browse the repository at this point in the history
fix omitstats=true crush
  • Loading branch information
xitongsys authored Jul 23, 2022
2 parents 1f24c24 + 8849361 commit 7a9be66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layout/chunk.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func PagesToDictChunk(pages []*Page) *Chunk {
var maxVal interface{} = pages[1].MaxVal
var minVal interface{} = pages[1].MinVal
var nullCount int64 = 0
pT, cT, logT, omitStats := pages[1].Schema.Type, pages[1].Schema.ConvertedType, pages[1].Schema.LogicalType, pages[0].Info.OmitStats
pT, cT, logT, omitStats := pages[1].Schema.Type, pages[1].Schema.ConvertedType, pages[1].Schema.LogicalType, pages[1].Info.OmitStats
funcTable := common.FindFuncTable(pT, cT, logT)

for i := 0; i < len(pages); i++ {
Expand Down

0 comments on commit 7a9be66

Please sign in to comment.