[ 
https://issues.apache.org/jira/browse/HIVE-2090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020125#comment-13020125
 ] 

David Reiss commented on HIVE-2090:
-----------------------------------

Jumping in here with minimal context.  This looks safe.  See section 5 
(specifically 5.3) of the original Thrift whitepaper.  If the parameter is 
missing on the wire (because the client has not been updated), the server will 
see the default value (false in C++/Java, None/null in Python/PHP).

We explicitly disallow the optional keyword in argument lists, because people 
thought it would allow them to continue writing drop_database("foo", true) even 
after updating their generated code, which is not the case.  When clients pull 
in this update, they will need to update their call sites.

> Add "DROP DATABASE ... FORCE"
> -----------------------------
>
>                 Key: HIVE-2090
>                 URL: https://issues.apache.org/jira/browse/HIVE-2090
>             Project: Hive
>          Issue Type: New Feature
>          Components: Metastore
>            Reporter: Siying Dong
>            Assignee: Siying Dong
>            Priority: Minor
>         Attachments: HIVE-2090.1.patch, HIVE-2090.2.patch, HIVE-2090.3.patch, 
> HIVE-2090.4.patch, HIVE-2090.5.patch
>
>
> A "DROP DATABASE ... FORCE" will be useful, when we use a database for 
> isolation when doing some tests. Being able to force cleaning up the database 
> will make test cleaning up easier.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to