ihuzenko commented on a change in pull request #1559: DRILL-540: Allow querying hive views in Drill URL: https://github.com/apache/drill/pull/1559#discussion_r242476465
########## File path: contrib/storage-hive/core/src/test/java/org/apache/drill/exec/impersonation/hive/TestStorageBasedHiveAuthorization.java ########## @@ -145,6 +148,41 @@ private static void setStorabaseBasedAuthorizationInHiveConf() { return hiveConfig; } + /** + * User Groups + * --------------------------- + * user0 | group0 + * user1 | group0, group1 + * user2 | group1, group2 + * + * Generating database objects with permissions: + * <p> + * | | org1Users[0] | org1Users[1] | org1Users[2] + * --------------------------------------------------------------------------------------- + * db_general | + | + | + | + * db_general.g_student_u0_700 | + | - | - | + * db_general.g_student_u0g0_750 | + | + | - | + * db_general.g_student_all_755 | + | + | + | + * db_general.g_voter_u1_700 | - | + | - | + * db_general.g_voter_u2g1_750 | - | + | + | + * db_general.g_voter_all_755 | + | + | + | + * db_general.g_partitioned_student_u0_700 | + | - | - | + * db_general.g_vw_g_student_u0_700 | + | - | - | + * | | | | | + * db_u0_only | + | - | - | + * db_u0_only.u0_student_all_755 | + | - | - | Review comment: Because other users don't have permissions to db_u0_only database directory ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services