Orc Format

    The Apache Orc format allows to read and write Orc data.

    Here is an example to create a table using Filesystem connector and Orc format.

    1. user_id BIGINT,
    2. item_id BIGINT,
    3. category_id BIGINT,
    4. dt STRING
    5. ) PARTITIONED BY (dt) WITH (
    6. 'path' = '/tmp/user_behavior',
    7. )

    Orc format type mapping is compatible with Apache Hive. The following table lists the type mapping from Flink type to Orc type.