docs: update csv parser metadata descriptions (#10750)

This commit is contained in:
JackSharebourg 2022-04-12 15:53:34 +02:00 committed by GitHub
parent 5e9312b167
commit d38665fbb6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -36,12 +36,11 @@ values.
## Indicates the number of rows to skip before looking for metadata and header information.
csv_skip_rows = 0
## Indicates the number of rows to parse as metadata before looking for header information.
## By default, the parser assumes there are no metadata rows to parse.
## If set, the parser would use the provided separators in the csv_metadata_separators to look for metadata.
## Please note that by default, the (key, value) pairs will be added as fields.
## Use the tag_columns to convert the metadata into tags.
## Please note that by default, the (key, value) pairs will be added as tags.
## If fields are required, use the converter processor.
csv_metadata_rows = 0
## A list of metadata separators. If csv_metadata_rows is set,
@ -50,7 +49,7 @@ values.
csv_metadata_separators = [":", "="]
## A set of metadata trim characters.
## If csv_metadata_trim_cutset is not set, no trimming is performed.
## If csv_metadata_trim_set is not set, no trimming is performed.
## Please note that the trim cutset is case sensitive.
csv_metadata_trim_set = ""

View File

@ -351,7 +351,7 @@ outer:
}
}
// add metadata fields
// add metadata tags
for k, v := range p.metadataTags {
tags[k] = v
}