Parquet vs ORC on EMR

0

What are the general pros and cons for Parquet vs. ORC specifically as it relates to EMR (EMRFS)

If the customer is planning to also leverage Redshift and Athena on the same data lake does this change the equation?

AWS
posta 7 anni fa568 visualizzazioni
1 Risposta
0
Risposta accettata

For EMR:

Parquet and ORC overlap quite a bit in terms of use cases as both are columnar formats. The last time (a few years ago) I was involved in a design evaluation to choose between the two, ORC's native indexing ended up being a measurable advantage in terms of performance in our use case, namely Hive queries that filtered results based on a handful of columns with (relatively) low cardinality (at least when compared with the number of rows in the data set). If that fits the customer's use case, that may be a good reason to go the ORC route. The caveat here is that there are third party solutions available in the ecosystem that can help close that index feature gap if the customer is willing to install and manage them.

For Athena/Redshift:

  • As a straightforward consideration of compatibility, Athena supports both formats. Assuming the same compression library is used with both formats (the two have different defaults), I am not yet aware of a significant performance delta between the two if all other things are equal.
  • Assuming your question regarding Redshift is in the context of leaving the data in S3 and leveraging Spectrum, based on the docs Parquet is currently supported but not ORC.

http://docs.aws.amazon.com/redshift/latest/dg/c-spectrum-data-files.html

MODERATORE
con risposta 7 anni fa
AWS
TECNICO DI SUPPORTO
verificato un mese fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande