Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

panic: runtime error: index out of range #84

Open
coloraven opened this issue Jul 6, 2023 · 0 comments
Open

panic: runtime error: index out of range #84

coloraven opened this issue Jul 6, 2023 · 0 comments

Comments

@coloraven
Copy link

root@70747b41e6e8:/tmp# pgfutter -pw "111" --schema "public" --table "datas" --ignore-errors csv forclickhouse.csv
7 columns
[credit company name phone id pid rootid]
2.80 MiB / 728.11 MiB [>--------------------------------------------------------------------------------------------] 0.38% 01m45s
panic: runtime error: index out of range

goroutine 1 [running]:
main.copyCSVRows(0xc42003b020, 0xc4201680c0, 0x1, 0x73fa7a, 0x1, 0xc420184000, 0x7, 0x8, 0xc42003b020, 0x0, ...)
/usr/src/pgfutter/csv.go:99 +0x747
main.importCSV(0x7ffc09c5be9d, 0x11, 0xc420056070, 0x67, 0x7ffc09c5be74, 0x6, 0xc420016700, 0x5, 0x1, 0x0, ...)
/usr/src/pgfutter/csv.go:172 +0x3f6
main.main.func2(0xc4200b2580, 0xc420011400, 0xc4200b2580)
/usr/src/pgfutter/pgfutter.go:164 +0x38f
github.com/codegangsta/cli.HandleAction(0x6e19c0, 0x7586c8, 0xc4200b2580, 0x0, 0xc420058840)
/gopath/src/github.com/codegangsta/cli/app.go:501 +0xd2
github.com/codegangsta/cli.Command.Run(0x73fda9, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x74b480, 0x18, 0x0, ...)
/gopath/src/github.com/codegangsta/cli/command.go:165 +0x4bb
github.com/codegangsta/cli.(*App).Run(0xc420108000, 0xc4200100a0, 0xa, 0xa, 0x0, 0x0)
/gopath/src/github.com/codegangsta/cli/app.go:259 +0x740
main.main()
/usr/src/pgfutter/pgfutter.go:170 +0xcce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant