[
https://issues.apache.org/jira/browse/HIVE-23717?focusedWorklogId=447559&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-447559
]
ASF GitHub Bot logged work on HIVE-23717:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 17/Jun/20 23:00
Start Date: 17/Jun/20 23:00
Worklog Time Spent: 10m
Work Description: xiaomengzhang opened a new pull request #1143:
URL: https://github.com/apache/hive/pull/1143
…efault
External + purge tables are more backward compatible with the old
managed tables in CDH and HDP 2.
So add a jdbc config "defaultExternalTable". When the value is true,
set "hive.create.as.acid" and "hive.create.as.insert.only" to false
in session level. In such session, table created by default is
external purge table.
Test:
Add unit test testDefaultExternal in TestJdbcDriver2.java
Change-Id: I3b1adc3eb63596ebc1955d116498745fa9356547
## NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HIVE-XXXXX: Fix a typo in YYY)
For more details, please see
https://cwiki.apache.org/confluence/display/Hive/HowToContribute
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 447559)
Remaining Estimate: 0h
Time Spent: 10m
> In jdbcUrl add config to create External + purge table by default
> ------------------------------------------------------------------
>
> Key: HIVE-23717
> URL: https://issues.apache.org/jira/browse/HIVE-23717
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, Metastore
> Affects Versions: 3.1.0
> Reporter: Xiaomeng Zhang
> Assignee: Xiaomeng Zhang
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> External + purge tables are more backward compatible with the old managed
> tables.
> Applications can use a HS2 URL that sets the session level property for
> default table type to external-purge tables to be true.
> As part of this we need a notion of a "session level only" config
> parameter(s).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)