Set skip rows and columns in csv parser (#5336)

This commit is contained in:
Greg 2019-01-23 12:37:24 -07:00 committed by Daniel Nelson
parent 99d36eb453
commit 458d3109c0
1 changed files with 2 additions and 2 deletions

View File

@ -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)
}
}
}