What is Apache ORC?
mainApache ORC (Optimized Row Columnar) is a self-describing, type-aware columnar file format designed for Hadoop workloads. It is optimized for large streaming reads and supports predicate pushdown, allowing readers to use internal indexes to quickly find required rows or stripes.
Key features:
- Columnar Storage: Enables reading, decompressing, and processing only the specific columns required for a query.
- Type Awareness: The writer automatically selects the most appropriate encoding for each data type.
- Complex Type Support: Supports the complete set of Hive types, including
structs,lists,maps, andunions. - Indexing: Built-in indexes allow for efficient row-level searches (narrowing down to sets of 10,000 rows).