You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/06/12 20:29:06 UTC

[tika] branch master updated: TIKA-3115 -- add detection for parquet files

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/master by this push:
     new de195e1  TIKA-3115 -- add detection for parquet files
de195e1 is described below

commit de195e14f927cee1ee68365aa691221060c2e2e0
Author: tallison <ta...@apache.org>
AuthorDate: Fri Jun 12 16:28:46 2020 -0400

    TIKA-3115 -- add detection for parquet files
---
 .../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml     | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 4caf1ab..3d2cc28 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -4099,7 +4099,12 @@
       <match value="0x43444601" type="string" offset="0"/>
     </magic>
   </mime-type>
-
+  <mime-type type="application/x-parquet">
+    <glob pattern="*.parquet"/>
+    <magic priority="50">
+      <match value="PAR1" type="string" offset="0" />
+    </magic>
+  </mime-type>
   <mime-type type="application/x-pkcs12">
     <glob pattern="*.p12"/>
     <glob pattern="*.pfx"/>