ORC-1253: Add Fedora 37 Docker test

### What changes were proposed in this pull request?
This PR aims to add Febdora 37 Docker test.

### Why are the changes needed?
To improve test coverage.

### How was this patch tested?
Manually test on AMD64.
Note that ORC-762 still exists; protobuffer 2.5.0 only works on AMD64 and Apple silicon.

```
$ docker build -t apache/orc-dev:fedora37 fedora37
$ ./run-one.sh local fedora37 fedora37
...
Test project /root/build
    Start 1: orc-test
1/8 Test #1: orc-test .........................   Passed    5.35 sec
    Start 2: java-test
2/8 Test #2: java-test ........................   Passed  192.94 sec
    Start 3: java-tools-test
3/8 Test #3: java-tools-test ..................   Passed    0.14 sec
    Start 4: java-bench-gen-test
4/8 Test #4: java-bench-gen-test ..............   Passed    1.38 sec
    Start 5: java-bench-scan-test
5/8 Test #5: java-bench-scan-test .............   Passed    1.23 sec
    Start 6: java-bench-hive-test
6/8 Test #6: java-bench-hive-test .............   Passed   13.55 sec
    Start 7: java-bench-spark-test
7/8 Test #7: java-bench-spark-test ............   Passed    4.66 sec
    Start 8: tool-test
8/8 Test #8: tool-test ........................   Passed   10.70 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) = 229.97 sec
Built target test-out
Finished fedora37 at Wed Aug 17 13:10:33 PDT 2022
```

Closes #1224 from williamhyun/fedora37.

Authored-by: William Hyun <william@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
4 files changed
tree: 62d598569979f0615095ef614efda2c49ae4bf53
  1. .github/
  2. c++/
  3. cmake_modules/
  4. dev/
  5. docker/
  6. examples/
  7. java/
  8. proto/
  9. site/
  10. tools/
  11. .asf.yaml
  12. .gitignore
  13. CMakeLists.txt
  14. LICENSE
  15. NOTICE
  16. README.md
README.md

Apache ORC

ORC is a self-describing type-aware columnar file format designed for Hadoop workloads. It is optimized for large streaming reads, but with integrated support for finding required rows quickly. Storing data in a columnar format lets the reader read, decompress, and process only the values that are required for the current query. Because ORC files are type-aware, the writer chooses the most appropriate encoding for the type and builds an internal index as the file is written. Predicate pushdown uses those indexes to determine which stripes in a file need to be read for a particular query and the row indexes can narrow the search to a particular set of 10,000 rows. ORC supports the complete set of types in Hive, including the complex types: structs, lists, maps, and unions.

ORC File Library

This project includes both a Java library and a C++ library for reading and writing the Optimized Row Columnar (ORC) file format. The C++ and Java libraries are completely independent of each other and will each read all versions of ORC files.

Releases:

  • Latest: Apache ORC releases
  • Maven Central: Maven Central
  • Downloads: Apache ORC downloads
  • Release tags: Apache ORC release tags
  • Plan: Apache ORC future release plan

The current build status:

  • Main branch main build status

Bug tracking: Apache Jira

The subdirectories are:

  • c++ - the c++ reader and writer
  • cmake_modules - the cmake modules
  • docker - docker scripts to build and test on various linuxes
  • examples - various ORC example files that are used to test compatibility
  • java - the java reader and writer
  • proto - the protocol buffer definition for the ORC metadata
  • site - the website and documentation
  • tools - the c++ tools for reading and inspecting ORC files

Building

  • Install java 1.8 or higher
  • Install maven 3.8.6 or higher
  • Install cmake

To build a release version with debug information:

% mkdir build
% cd build
% cmake ..
% make package
% make test-out

To build a debug version:

% mkdir build
% cd build
% cmake .. -DCMAKE_BUILD_TYPE=DEBUG
% make package
% make test-out

To build a release version without debug information:

% mkdir build
% cd build
% cmake .. -DCMAKE_BUILD_TYPE=RELEASE
% make package
% make test-out

To build only the Java library:

% cd java
% ./mvnw package

To build only the C++ library:

% mkdir build
% cd build
% cmake .. -DBUILD_JAVA=OFF
% make package
% make test-out