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

Authorization api: missing privilege objects in create table/view

    XMLWordPrintableJSON

Details

    Description

      Issues being addressed:

      • In case of create-table-as-select query, the database the table belongs to is not among the objects to be authorized.
      • Create table has the objectName field of the table entry with the database prefix - like testdb.testtable, instead of just the table name.
      • checkPrivileges(CREATEVIEW) does not include the name of the view being created in outputHObjs.

      Attachments

        1. HIVE-7673.1.patch
          34 kB
          Thejas Nair
        2. HIVE-7673.2.patch
          276 kB
          Thejas Nair
        3. HIVE-7673.3.patch
          273 kB
          Thejas Nair
        4. HIVE-7673.4.patch
          273 kB
          Thejas Nair
        5. HIVE-7673.5.patch
          288 kB
          Thejas Nair
        6. HIVE-7673.5.patch
          288 kB
          Thejas Nair

        Issue Links

          Activity

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: