{"action":"created","issue":{"url":"https://api.github.com/repos/xitongsys/parquet-go/issues/80","repository_url":"https://api.github.com/repos/xitongsys/parquet-go","labels_url":"https://api.github.com/repos/xitongsys/parquet-go/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/xitongsys/parquet-go/issues/80/comments","events_url":"https://api.github.com/repos/xitongsys/parquet-go/issues/80/events","html_url":"https://github.com/xitongsys/parquet-go/issues/80","id":332774490,"node_id":"MDU6SXNzdWUzMzI3NzQ0OTA=","number":80,"title":"Runtime error when using ParquetReader with PLAIN_DICTIONARY encoding","user":{"login":"ajbosco","id":5423676,"node_id":"MDQ6VXNlcjU0MjM2NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/5423676?v=4","gravatar_id":"","url":"https://api.github.com/users/ajbosco","html_url":"https://github.com/ajbosco","followers_url":"https://api.github.com/users/ajbosco/followers","following_url":"https://api.github.com/users/ajbosco/following{/other_user}","gists_url":"https://api.github.com/users/ajbosco/gists{/gist_id}","starred_url":"https://api.github.com/users/ajbosco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajbosco/subscriptions","organizations_url":"https://api.github.com/users/ajbosco/orgs","repos_url":"https://api.github.com/users/ajbosco/repos","events_url":"https://api.github.com/users/ajbosco/events{/privacy}","received_events_url":"https://api.github.com/users/ajbosco/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-15T13:32:12Z","updated_at":"2018-08-06T03:43:07Z","closed_at":"2018-08-06T03:43:07Z","author_association":"NONE","body":"Hi, I have an application that uses the ParquetWriter to write a file with `PLAIN_DICTIONARY` encoding on a couple of columns and then ParquetReader to read said file. Occasionally, it is throwing a runtime error with the trace below.\r\n\r\n```\r\npanic: runtime error: slice bounds out of range\r\ngoroutine 47900 [running]:\r\nvendor/github.com/xitongsys/parquet-go/Layout.ReadDataPageValues(0xc4206b1b00, 0x2, 0x6, 0x0, 0xfa, 0x0, 0x0, 0x1, 0x0, 0x572df6, ...)\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/Layout/Page.go:629 +0xa87\r\nvendor/github.com/xitongsys/parquet-go/Layout.ReadPage(0xc420532c40, 0xc42057c380, 0xc42011ca50, 0xc420b86a00, 0x0, 0x0, 0x0, 0x0)\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/Layout/Page.go:856 +0xb44\r\nvendor/github.com/xitongsys/parquet-go/ParquetReader.(*ColumnBufferType).ReadPage(0xc42057c620, 0x0, 0x0)\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/ParquetReader/ColumnBuffer.go:99 +0x6b\r\nvendor/github.com/xitongsys/parquet-go/ParquetReader.(*ColumnBufferType).ReadRows(0xc42057c620, 0x1, 0xc4209a15e0, 0x19)\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/ParquetReader/ColumnBuffer.go:213 +0x3c\r\nvendor/github.com/xitongsys/parquet-go/ParquetReader.(*ParquetReader).Read.func1(0xc420048c60, 0xc4201e1f80, 0xc42001c960, 0x1, 0xc420cfa850, 0xc42053a060, 0xc42053a068)\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/ParquetReader/ParquetReader.go:184 +0x196\r\ncreated by vendor/github.com/xitongsys/parquet-go/ParquetReader.(*ParquetReader).Read\r\n/tmp/build/8d144e94/src/vendor/github.com/xitongsys/parquet-go/ParquetReader/ParquetReader.go:177 +0x2be\r\n```"},"comment":{"url":"https://api.github.com/repos/xitongsys/parquet-go/issues/comments/410580579","html_url":"https://github.com/xitongsys/parquet-go/issues/80#issuecomment-410580579","issue_url":"https://api.github.com/repos/xitongsys/parquet-go/issues/80","id":410580579,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDU4MDU3OQ==","user":{"login":"xitongsys","id":24487627,"node_id":"MDQ6VXNlcjI0NDg3NjI3","avatar_url":"https://avatars3.githubusercontent.com/u/24487627?v=4","gravatar_id":"","url":"https://api.github.com/users/xitongsys","html_url":"https://github.com/xitongsys","followers_url":"https://api.github.com/users/xitongsys/followers","following_url":"https://api.github.com/users/xitongsys/following{/other_user}","gists_url":"https://api.github.com/users/xitongsys/gists{/gist_id}","starred_url":"https://api.github.com/users/xitongsys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xitongsys/subscriptions","organizations_url":"https://api.github.com/users/xitongsys/orgs","repos_url":"https://api.github.com/users/xitongsys/repos","events_url":"https://api.github.com/users/xitongsys/events{/privacy}","received_events_url":"https://api.github.com/users/xitongsys/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T03:43:07Z","updated_at":"2018-08-06T03:43:07Z","author_association":"OWNER","body":"close due to low traffic"}}
{"actor":{"display_login":"xitongsys"}}