[ 
https://issues.apache.org/jira/browse/HIVE-27285?focusedWorklogId=858781&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-858781
 ]

ASF GitHub Bot logged work on HIVE-27285:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Apr/23 20:19
            Start Date: 24/Apr/23 20:19
    Worklog Time Spent: 10m 
      Work Description: jfsii commented on code in PR #4258:
URL: https://github.com/apache/hive/pull/4258#discussion_r1175744100


##########
standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetTableMeta.java:
##########
@@ -233,11 +248,11 @@ public void testGetTableMeta() throws Exception {
 
     tableMetas = client.getTableMeta("testpartdb*", "*", Lists.newArrayList(
             TableType.EXTERNAL_TABLE.name()));
-    assertTableMetas(new int[]{0, 1, 3}, tableMetas);
+    assertTableMetas(new int[]{0}, tableMetas);

Review Comment:
   Now that this test correctly creates MANAGED and EXTERNAL tables (because we 
now declare our HMS client capability for acid tables), this test output 
changes back to what I think was originally intended prior to  HIVE-21838.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 858781)
    Time Spent: 1h 10m  (was: 1h)

> Add TableMeta ownership for filterTableMetas
> --------------------------------------------
>
>                 Key: HIVE-27285
>                 URL: https://issues.apache.org/jira/browse/HIVE-27285
>             Project: Hive
>          Issue Type: Improvement
>          Components: Standalone Metastore
>    Affects Versions: 4.0.0
>            Reporter: John Sherman
>            Assignee: John Sherman
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Currently TableMeta does not include ownership information which makes it 
> difficult for filterTableMetas to efficiently filter based on ${OWNER} 
> privileges.
> We should add ownership information to TableMeta and utilizing it in 
> filterTableMetas authorization checks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to