[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-15 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
   Resolution: Fixed
Fix Version/s: 4.0.0
   3.1.0
   Status: Resolved  (was: Patch Available)

Committed to master/branch-3

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Fix For: 3.1.0, 4.0.0
>
> Attachments: HIVE-19861.1.patch, HIVE-19861.2.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-13 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
Attachment: HIVE-19861.2.patch

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Attachments: HIVE-19861.1.patch, HIVE-19861.2.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-13 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
Attachment: HIVE-19861.2.patch

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Attachments: HIVE-19861.1.patch, HIVE-19861.2.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-13 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
Attachment: (was: HIVE-19861.2.patch)

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Attachments: HIVE-19861.1.patch, HIVE-19861.2.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-11 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
Status: Patch Available  (was: Open)

RB at https://reviews.apache.org/r/67540/
[~ekoifman], can you take a look?

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Attachments: HIVE-19861.1.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-11 Thread Jason Dere (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Dere updated HIVE-19861:
--
Attachment: HIVE-19861.1.patch

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
> Attachments: HIVE-19861.1.patch
>
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (HIVE-19861) Fix temp table path generation for acid table export

2018-06-11 Thread Eugene Koifman (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-19861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eugene Koifman updated HIVE-19861:
--
Affects Version/s: 3.0.0

> Fix temp table path generation for acid table export
> 
>
> Key: HIVE-19861
> URL: https://issues.apache.org/jira/browse/HIVE-19861
> Project: Hive
>  Issue Type: Bug
>  Components: Import/Export, Transactions
>Affects Versions: 3.0.0
>Reporter: Jason Dere
>Assignee: Jason Dere
>Priority: Major
>
> Temp tables that are analyzed by the SemanticAnalyzer get their default 
> location set to a location in the session directory. Export of Acid tables 
> also creates temp tables, but this is done via a plan transformation, and the 
> temp table creation never goes through the SemanticAnalyzer, meaning the 
> location is not set. There is some other logic in DDLTask (which I am 
> changing in HIV-19837) which ends up automatically setting this path to the 
> default table location in the warehouse directory. This should be fixed so 
> that the path defaults to a location in the session directory, like with 
> normal temp tables.
> cc [~ekoifman]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)