apache / drill

Apache Drill is a distributed MPP query layer for self describing data
https://drill.apache.org/
Apache License 2.0
1.93k stars 980 forks source link

DRILL-8392: Empty Tables Causes Index Out of Bounds Exception on PDF Reader #2744

Closed cgivre closed 1 year ago

cgivre commented 1 year ago

DRILL-8392: Empty Tables Causes Index Out of Bounds Exception on PDF Reader

Description

In certain conditions, Drill will generate an Index Out of Bounds exception. This minor PR fixes that. Basically, when a schema is not provided, Drill will ignore empty cells in rows.

Documentation

No user facing changes.

Testing

Ran existing unit tests and tested with customer data.