From 458d3109c09f6b4f270d9a24440f413e002608b6 Mon Sep 17 00:00:00 2001 From: Greg <2653109+glinton@users.noreply.github.com> Date: Wed, 23 Jan 2019 12:37:24 -0700 Subject: [PATCH] Set skip rows and columns in csv parser (#5336) --- internal/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 2a5f62708..a24781949 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -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) } } }