Set skip rows and columns in csv parser (#5336)
This commit is contained in:
parent
99d36eb453
commit
458d3109c0
|
@ -1591,7 +1591,7 @@ func getParserConfig(name string, tbl *ast.Table) (*parsers.Config, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
c.CSVHeaderRowCount = int(v)
|
||||
c.CSVSkipRows = int(v)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1603,7 +1603,7 @@ func getParserConfig(name string, tbl *ast.Table) (*parsers.Config, error) {
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
c.CSVHeaderRowCount = int(v)
|
||||
c.CSVSkipColumns = int(v)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue