what i meet:
when read a empty orc file (no header and footer , zero byte), this program will get a panic.
the file: read.go
func (r *Reader) extractMetaInfoFromFooter() error {
....
}
how to reproduce
- touch test.orc
- in golang file:
orc.Open("./test.orc")
- panic: runtime error: out of range [-1]
what i meet:
when read a empty orc file (no header and footer , zero byte), this program will get a panic.
the file: read.go
func (r *Reader) extractMetaInfoFromFooter() error {
....
}
how to reproduce
orc.Open("./test.orc")