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

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

                Author: ASF GitHub Bot
            Created on: 24/Jan/22 19:06
            Start Date: 24/Jan/22 19:06
    Worklog Time Spent: 10m 
      Work Description: saihemanth-cloudera commented on a change in pull 
request #2924:
URL: https://github.com/apache/hive/pull/2924#discussion_r791067720



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java
##########
@@ -13600,7 +13616,12 @@ ASTNode analyzeCreateTable(
 
     // Handle different types of CREATE TABLE command
     // Note: each branch must call addDbAndTabToOutputs after finalizing table 
properties.
-
+    Database database  = getDatabase(qualifiedTabName.getDb());
+    boolean isDefaultTableTypeChanged = false;
+    if(database.getParameters() != null && 
database.getParameters().containsKey(DEFAULT_TABLE_TYPE) && 
database.getParameters().get(DEFAULT_TABLE_TYPE).equalsIgnoreCase("external")) {

Review comment:
       Ack




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

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

> Support table defaults at each database level
> ---------------------------------------------
>
>                 Key: HIVE-25826
>                 URL: https://issues.apache.org/jira/browse/HIVE-25826
>             Project: Hive
>          Issue Type: New Feature
>          Components: HiveServer2, Standalone Metastore
>            Reporter: Sai Hemanth Gantasala
>            Assignee: Sai Hemanth Gantasala
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> This feature jira is for adding support for users being able to specify 
> default table types at each database level. Currently, this is configurable 
> at the service level (HS2) and at each JDBC session-level. The goal is to be 
> able to specify the default table type for each database either when the DB 
> is created (create DB DDL) or at any point later (via alter db DDL).
> More details and design docs for this feature will be added soon to this Jira.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to