VictoriaMetrics/lib/protoparser/csvimport
Aliaksandr Valialkin a892f22bf7
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:56 -07:00
..
column_descriptor.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:56 -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:12 +03:00
parser.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:56 -07:00
parser_test.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:56 -07:00
parser_timing_test.go app/{vmagent,vminsert}: add support for importing csv data via /api/v1/import/csv 2020-03-10 21:17:40 +02:00
scanner.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:56 -07:00
scanner_test.go lib/protoparser/csvimport: properly parse the last empty column in CSV line 2023-05-12 17:00:56 -07:00
streamparser.go lib/writeconcurrencylimiter: improve the logic behind -maxConcurrentInserts limit 2023-01-06 22:07:16 -08:00