Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-13125 Support masking and filtering of rows/columns
  3. HIVE-13910

[Ranger-Hive] select from a table is not working if used as <dbname.tablename>

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • None
    • None

    Description

      set hive.mapred.mode=nonstrict;
      set hive.security.authorization.manager=org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactoryForTest;
      
      create database newdb;
      
      use newdb;
      
      create table masking_test as select cast(key as int) as key, value from default.src;
      
      use default;
      
      explain select * from newdb.masking_test;
      select * from newdb.masking_test;
      
      explain select * from newdb.masking_test where key > 0;
      select * from newdb.masking_test where key > 0;
      

      Attachments

        1. HIVE-13910.01.patch
          7 kB
          Pengcheng Xiong

        Activity

          People

            pxiong Pengcheng Xiong
            pxiong Pengcheng Xiong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: