Skip to content

Commit 2d84a90

Browse files
committed
refactor: update decimal column methods in benchmark for consistency
1 parent 36d7070 commit 2d84a90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

http_sender_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,9 +1038,9 @@ func BenchmarkHttpLineSenderDecimal(b *testing.B) {
10381038
d2, _ := qdb.NewDecimal(bi, 3)
10391039
sender.
10401040
Table(testTable).
1041-
DecimalColumnScaled("dec_col", d1).
1042-
DecimalColumnScaled("dec_col2", d2).
1043-
DecimalColumnString("dec_col3", decimalStr).
1041+
DecimalColumn("dec_col", d1).
1042+
DecimalColumn("dec_col2", d2).
1043+
DecimalColumnFromString("dec_col3", decimalStr).
10441044
At(ctx, time.UnixMicro(int64(1000*i)))
10451045
}
10461046
sender.Flush(ctx)

0 commit comments

Comments
 (0)