VictoriaMetrics/lib/protoparser/csvimport
Aliaksandr Valialkin 78cd76d96a
lib/protoparser/csvimport: properly parse the last empty column in CSV line
Do not ignore the last empty column in CSV line.
While at it, properly parse CSV columns in single quotes, e.g. `'foo,bar',baz` is parsed as two columns - `foo,bar` and `baz`

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4048

See also https://github.com/VictoriaMetrics/VictoriaMetrics/pull/4298
2023-05-12 17:00:48 -07:00
..
column_descriptor.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:48 -07:00
column_descriptor_test.go Perform conversion from string to []byte according to rule #6 at https://golang.org/pkg/unsafe/#Pointer 2020-08-05 11:55:58 +03:00
parser.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:48 -07:00
parser_test.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:48 -07:00
parser_timing_test.go app/{vmagent,vminsert}: add support for importing csv data via /api/v1/import/csv 2020-03-10 21:15:35 +02:00
scanner.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:48 -07:00
scanner_test.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:48 -07:00
streamparser.go lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:20:19 -08:00