Back to home page

OSCL-LXR

 
 

    


0001 # Notes for Parquet compatibility tests
0002 
0003 The following directories and files are used for Parquet compatibility tests:
0004 
0005 ```
0006 .
0007 ├── README.md                   # This file
0008 ├── avro
0009 │   ├── *.avdl                  # Testing Avro IDL(s)
0010 │   └── *.avpr                  # !! NO TOUCH !! Protocol files generated from Avro IDL(s)
0011 ├── gen-java                    # !! NO TOUCH !! Generated Java code
0012 ├── scripts
0013 │   ├── gen-avro.sh             # Script used to generate Java code for Avro
0014 │   └── gen-thrift.sh           # Script used to generate Java code for Thrift
0015 └── thrift
0016     └── *.thrift                # Testing Thrift schema(s)
0017 ```
0018 
0019 To avoid code generation during build time, Java code generated from testing Thrift schema and Avro IDL are also checked in.
0020 
0021 When updating the testing Thrift schema and Avro IDL, please run `gen-avro.sh` and `gen-thrift.sh` accordingly to update generated Java code.
0022 
0023 ## Prerequisites
0024 
0025 Please ensure `avro-tools` and `thrift` are installed.  You may install these two on Mac OS X via:
0026 
0027 ```bash
0028 $ brew install thrift avro-tools
0029 ```