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

Hive on Spark- if selecting an empty table with hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat, the hive on spark job will keep running without any stages.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1.0
    • None
    • Hive, Spark
    • None

    Description

      SQL:

      sourcetable is an empty table.

      set hive.execution.engine=spark;
      SET hive.input.format=org.apache.hadoop.hive.ql.io.HiveInputFormat;

      insert into table targettable
      select
      *
      from sourcetable where day='${rundate}';

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Tang Yan Tang Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: