Acceldata
ODP

Last updated: Sep 23, 2026 10:02 UTC

Hive/Hive2 Example

Prerequisites

Make sure to first copy /examples/hive/configuration.template.properties, rename it as [INLINE_CODE]configuration.properties[/INLINE_CODE] and fill with configuration data.

Run the Command

To execute the Hive example, you can run the following command:

o2a -i examples/hive -o output/hive

Output

In this example, the output is created in the ./output/hive/ folder.

The converted DAG uses HiveOperator in Airflow and a default hive connection [INLINE_CODE]id = hive_connection[/INLINE_CODE], you can see how to configure this as shown in Known limitations.

The converted DAG utilizes Airflow's HiveOperator and defaults to the Hive connection ID [INLINE_CODE]hive_cli_default[/INLINE_CODE]. For guidance on configuring this connection, please refer to the 'Known Limitations' section.