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

(cherry picked from commit 458d3109c0)
This commit is contained in:
Greg
2019-01-23 11:40:32 -08:00
committed by Daniel Nelson
parent 6ad8c8b00b
commit 1e80f3eee1
+2 -2
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)
}
}
}