cgivre commented on a change in pull request #2359:
URL: https://github.com/apache/drill/pull/2359#discussion_r766309112



##########
File path: contrib/format-pdf/README.md
##########
@@ -0,0 +1,67 @@
+# Format Plugin for PDF Table Reader
+One of the most annoying tasks is when you are working on a data science 
project and you get data that is in a PDF file. This plugin endeavours to 
enable you to query data in
+ PDF tables using Drill's SQL interface.  
+
+## Data Model
+Since PDF files generally are not intended to be queried or read by machines, 
mapping the data to tables and rows is not a perfect process.  The PDF reader 
does support 
+provided schema. 
+
+### Merging Pages
+The PDF reader reads tables from PDF files on each page.  If your PDF file has 
tables that span multiple pages, you can set the `combinePages` parameter to 
`true` and Drill 
+will merge all the tables in the PDF file.  You can also do this at query time 
with the `table()` function.

Review comment:
       The way I envisioned this working was for a user to use the `table()` 
function and specify the table index at query time.  That way they can query as 
many incompatible tables as they want and not have to read ones they don't. 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to