Impala lineage

Atlas lineage graphs help you understand the source and impact of data and changes to data over time and across all your data.

Atlas collects metadata from Impala to represent the lineage among data assets. The Atlas lineage graph displays the input and output processes that the current entity participated in. Entities are included if they were inputs to processes that led to the current entity or if they are outputs of processes for which the current entity was an input. Impala processes follow this pattern.

Figure 1. Impala lineage in the New User Interface

Lineage tab of the carrier_delay_summary hive_table entity in the New User Interface. The flights and carriers tables feed an Impala process that creates carrier_delay_summary, which is circled as the current entity. Downstream Impala processes lead to the delay_report table and the v_delayed_carriers view. Two process nodes have no output table.

The Lineage tab of the carrier_delay_summary hive_table entity in the New User Interface. An Impala CREATE TABLE AS SELECT statement created the table from the flights and carriers tables. Downstream Impala processes lead to the delay_report table and the v_delayed_carriers view.

Figure 2. Impala lineage in the Classic User Interface

Lineage tab of the carrier_delay_summary hive_table entity in the Classic User Interface. The flights and carriers tables feed an Impala process that creates carrier_delay_summary, which is circled as the current entity. Downstream Impala processes lead to the delay_report table and the v_delayed_carriers view. Two process nodes have no output table.

The Lineage tab of the carrier_delay_summary hive_table entity in the Classic User Interface. An Impala CREATE TABLE AS SELECT statement created the table from the flights and carriers tables. Downstream Impala processes lead to the delay_report table and the v_delayed_carriers view.

In Cloudera platform 7.1.9 SP2, 7.3.2.10000, and higher versions, Impala lineage events include an explicit operationType field. Atlas uses that value when it builds Impala process and column lineage so the lineage graph reflects the operation without relying only on parsing the full queryText. In lower versions, Atlas infers the operation from the query text, which is less reliable for some statements.