Kaynağa Gözat

default bigint

libf 3 ay önce
ebeveyn
işleme
8d157a4740
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      reader/csvreader.go

+ 1 - 1
reader/csvreader.go

@@ -55,7 +55,7 @@ func (br *CSVBlockReader) ReadBlock() (block map[string]any, line string, lineco
 		for i, k := range br.csvkeys {
 			v := values[i]
 			if v != "" {
-				n := cast.ToInt(v)
+				n := cast.ToInt64(v)
 				if n != 0 || v == "0" {
 					block[k] = n
 					continue