Well that's a bummer but I believe it setting "defaultInputFormat": "json" 
doesn't seem to have any effect.


________________________________
Scott Kinney | DevOps
stem   |   m  510.282.1299
100 Rollins Road, Millbrae, California 94030

This e-mail and/or any attachments contain Stem, Inc. confidential and 
proprietary information and material for the sole use of the intended 
recipient(s). Any review, use or distribution that has not been expressly 
authorized by Stem, Inc. is strictly prohibited. If you are not the intended 
recipient, please contact the sender and delete all copies. Thank you.

________________________________________
From: Parth Chandra <[email protected]>
Sent: Tuesday, June 28, 2016 11:36 AM
To: [email protected]
Subject: Re: gzipped json files not named .json.gz

Hi Scott,

  Unlikely that this will work without the extension. Drill uses Hadoop's
CompressionCodecFactory class [1] that infers the compression type from the
extension.

Parth

[1]
https://hadoop.apache.org/docs/r2.4.1/api/org/apache/hadoop/io/compress/CompressionCodecFactory.html#getCodec(org.apache.hadoop.fs.Path)

On Tue, Jun 28, 2016 at 8:47 AM, Scott Kinney <[email protected]> wrote:

> Can I have drill open gzipped json files who's names do not end in
> .json.gz?
>
> We have a spark job generating these files and it just dosn't want to
> change the name or append the .json.gz.
>
> ?
>
>
> ________________________________
> Scott Kinney | DevOps
> stem <http://www.stem.com/>   |   m  510.282.1299
> 100 Rollins Road, Millbrae, California 94030
>
> This e-mail and/or any attachments contain Stem, Inc. confidential and
> proprietary information and material for the sole use of the intended
> recipient(s). Any review, use or distribution that has not been expressly
> authorized by Stem, Inc. is strictly prohibited. If you are not the
> intended recipient, please contact the sender and delete all copies. Thank
> you.
>

Reply via email to