- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CSVString (0.06 sec)
-
internal/s3select/sql/value_test.go
t.Run(tt.name, func(t *testing.T) { v := valueBuilders[i]() vAlt := altValueBuilders[i]() if got := v.CSVString(); got != tt.want { t.Errorf("CSVString() = %v, want %v", got, tt.want) } if got := vAlt.CSVString(); got != tt.wantAlt { t.Errorf("CSVString() = %v, want %v", got, tt.wantAlt) } }) } } func TestValue_bytesToInt(t *testing.T) { type fields struct {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:10 UTC 2023 - 12.5K bytes - Viewed (0) -
internal/s3select/csv/record.go
} // Set - sets the value for a column name. func (r *Record) Set(name string, value *sql.Value) (sql.Record, error) { r.columnNames = append(r.columnNames, name) r.csvRecord = append(r.csvRecord, value.CSVString()) return r, nil } // Reset data in record. func (r *Record) Reset() { if len(r.columnNames) > 0 { r.columnNames = r.columnNames[:0] } if len(r.csvRecord) > 0 { r.csvRecord = r.csvRecord[:0]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 23 19:35:41 UTC 2024 - 4.1K bytes - Viewed (0)