From issues-return-168207-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed Oct 2 17:36:02 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 3C4A718064F for ; Wed, 2 Oct 2019 19:36:02 +0200 (CEST) Received: (qmail 6259 invoked by uid 500); 2 Oct 2019 17:36:01 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 6250 invoked by uid 99); 2 Oct 2019 17:36:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2019 17:36:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DB99DE2F0E for ; Wed, 2 Oct 2019 17:36:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3117B7806B8 for ; Wed, 2 Oct 2019 17:36:00 +0000 (UTC) Date: Wed, 2 Oct 2019 17:36:00 +0000 (UTC) From: "Naveen Gangam (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-22225) add owner name for create database if missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22225?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1694= 3021#comment-16943021 ]=20 Naveen Gangam commented on HIVE-22225: -------------------------------------- [~samuelan] Quick question, for existing databases that do not have ownersh= ip info, would it make sense to also automatically update the database with= ownership info when a user executed "alter database" on the table, only wh= en the current database and the new database (coming from the AlterDatabase= Request) both have no ownership info. I am guessing no, because executing alter table on a table should not make = that user the owner. They may or may not be the original owners. But just wanted to make sure that you had given it some thought as well. Th= ank you > add owner name for create database if missing > --------------------------------------------- > > Key: HIVE-22225 > URL: https://issues.apache.org/jira/browse/HIVE-22225 > Project: Hive > Issue Type: Task > Components: Hive > Reporter: Sam An > Assignee: Sam An > Priority: Minor > Attachments: HIVE-22225.1.patch, HIVE-22225.2.patch, HIVE-22225.4= .patch, Hive-22225.3.patch > > > When Spark connects to HMS, the database owner name is not filled. This c= ould happen to other clients as well. We shall fill this in HMS. Ownership = info is useful for authorizer component in Ranger, etc.=C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)