We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0db9374 commit 4f2d44fCopy full SHA for 4f2d44f
contrib/format-pdf/src/main/java/org/apache/drill/exec/store/pdf/PdfBatchReader.java
@@ -112,7 +112,6 @@ public boolean open(FileScanFramework.FileSchemaNegotiator negotiator) {
112
// Get the tables if the user set the combine pages to true
113
if (config.plugin.getConfig().combinePages() ) {
114
tables = PdfUtils.extractTablesFromPDF(document, config.plugin.getConfig().getAlgorithm());
115
- // TODO ... What happens if there are no tables... NPE?
116
currentTable = tables.get(0);
117
} else {
118
currentTable = PdfUtils.getSpecificTable(document, startingTableIndex, config.plugin.getConfig().getAlgorithm());
0 commit comments