Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-21486

FinalSelectOps is empty in lineage index if there is a script operator(transform)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1.1, 2.3.4
    • Fix Version/s: None
    • Component/s: lineage
    • Labels:

      Description

      SQL pattern:

      create table t1 as select transform(c1) using '/bin/python script.py' as (c2) from t2;

      Lineage dependencies are correct. But the SelectOperator is not added to the finalSelectOps in Lineage Index. So that index.getDependencies(finalSelOp) got null in this case.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              zihao.ye Zihao Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: