[
https://issues.apache.org/jira/browse/HIVE-17628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190772#comment-16190772
]
Lefty Leverenz commented on HIVE-17628:
---------------------------------------
How about both CREATE and ALTER?
* [Create Table |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-CreateTable]
-- add to notes after the syntax
* [Alter Table/Partition/Column |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTable/Partition/Column]
** [Add Partitions |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AddPartitions]
** [Alter Table/Partition Location |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-AlterTable/PartitionLocation]
What about CREATE and ALTER DATABASE?
* [Create/Drop/Alter/Use Database |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-Create/Drop/Alter/UseDatabase]
There may be more DDL sections where this should be mentioned.
Does this also apply to LOAD and INSERT? IMPORT/EXPORT? SELECT?
* [DML (Load and Insert) |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-HiveDataManipulationLanguage]
* [Import/Export |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+ImportExport]
* [Select Syntax |
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select#LanguageManualSelect-SelectSyntax]
> always use fully qualified path for tables/partitions/etc.
> ----------------------------------------------------------
>
> Key: HIVE-17628
> URL: https://issues.apache.org/jira/browse/HIVE-17628
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Fix For: 3.0.0
>
> Attachments: HIVE-17628.01.patch, HIVE-17628.patch
>
>
> # Different services, or the same one at different times, may have different
> default FS, so it doesn't make sense to persist a non-qualified path.
> # The logic to detect whether we are using default FS or not is anyway rather
> questionable e.g. it will run if the setting is set to the same value as the
> default fs, as long as it's set.
> # In fact might be more expensive that just making the path qualified as it
> iterates thru all the properties, including the ones added from
> getConfVarInputStream.
> # It also hits HADOOP-13500.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)