Skip to content

Commit

Permalink
chore: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daviderli614 committed Jul 2, 2024
1 parent 68adcf2 commit 6943f54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/tsbs_load_greptime/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"bufio"
"bytes"
"log"
"strings"

"github.com/timescale/tsbs/pkg/data"
Expand Down Expand Up @@ -47,6 +48,7 @@ func (b *batch) Append(item data.LoadedPoint) {
b.rows++
// Each influx line is format "csv-tags csv-fields timestamp", so we split by space
// and then on the middle element, we split by comma to count number of fields added
log.Println("debug======:", thatStr)
args := strings.Split(thatStr, " ")
if len(args) != 3 {
fatal(errNotThreeTuplesFmt, len(args))
Expand Down

0 comments on commit 6943f54

Please sign in to comment.