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

insert into statement overwrites if target table is prefixed with database name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.1
    • 0.10.0
    • Query Processor
    • None
    • Reviewed

    Description

      insert into statement works as expected when the target table is not prefixed with database name. It does append correctly.

      However, if I specify a database name prefixing the target table, the statement just overwrites instead of appends:

      insert into table my_database.target select * from source;

      Attachments

        1. HIVE-3465.1.patch.txt
          21 kB
          Navis Ryu
        2. HIVE-3465.D5661.1.patch
          20 kB
          Phabricator

        Issue Links

          Activity

            People

              navis Navis Ryu
              kaufman Kaufman Ng
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: