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

Truncate statement is not working when database is specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.13.0, 0.13.1
    • None
    • Parser
    • CentOS 6, CDH 5.3

    • TRUNCATE

    Description

      This returns un error:

      TRUNCATE TABLE database_name.table_name PARTITION (date_by_day='2015-08-19');
      

      While this works:

      USE database_name;
      TRUNCATE TABLE table_name PARTITION (date_by_day='2015-08-19');
      

      Attachments

        Activity

          People

            kingzone Ze Jin
            veve Alina GHERMAN
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: