Skip to content

Commit fb96506

Browse files
committed
Voodoo debugging.
1 parent 5dc781f commit fb96506

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

pkg/sql/colexec/dispatch/sendfunc.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,8 @@ func sendBatToMultiMatchedReg(ap *Dispatch, proc *process.Process, bat *batch.Ba
179179
batIndex := uint32(ap.ctr.remoteToIdx[r.Uid])
180180
if shuffleIndex%localRegsCnt == batIndex%localRegsCnt {
181181
if bat != nil && !bat.IsEmpty() {
182-
<<<<<<< HEAD
183182
receiverID := fmt.Sprintf("%s(ShuffleIdx=%d)", r.Uid.String(), shuffleIndex)
184-
185-
encodeData, errEncode := bat.MarshalBinaryWithBuffer(&ap.ctr.marshalBuf)
186-
=======
187183
encodeData, errEncode := bat.MarshalBinaryWithBuffer(&ap.ctr.marshalBuf, true)
188-
>>>>>>> 78f7b397b (Really spill.)
189184
if errEncode != nil {
190185
return errEncode
191186
}

pkg/sql/colexec/group/types2.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ func (ctr *container) freeGroupByBatches(proc *process.Process) {
177177

178178
func (ctr *container) free(proc *process.Process) {
179179
// free container stuff, WTH is the Free0?
180+
ctr.inputDone = false
180181
ctr.hr.Free0()
181182

182183
ctr.groupByEvaluate.Free()
@@ -193,6 +194,7 @@ func (ctr *container) free(proc *process.Process) {
193194

194195
func (ctr *container) reset(proc *process.Process) {
195196
ctr.state = vm.Build
197+
ctr.inputDone = false
196198
ctr.resetForSpill(proc)
197199
ctr.freeSpillBkts(proc)
198200
}

0 commit comments

Comments
 (0)