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

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