FAQ
Author: kevinwilfong
Date: Mon Oct 8 17:07:44 2012
New Revision: 1395668

URL: http://svn.apache.org/viewvc?rev=1395668&view=rev
Log:
HIVE-3522. Make separator for Entity name configurable. (Raghotham Murthy via kevinwilfong)

Modified:
hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
hive/trunk/conf/hive-default.xml.template
hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/Entity.java

Modified: hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
URL: http://svn.apache.org/viewvc/hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java?rev=1395668&r1=1395667&r2=1395668&view=diff
==============================================================================
--- hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java (original)
+++ hive/trunk/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java Mon Oct 8 17:07:44 2012
@@ -632,6 +632,7 @@ public class HiveConf extends Configurat
// beginning and end of Driver.run, these will be run in the order specified
HIVE_DRIVER_RUN_HOOKS("hive.exec.driver.run.hooks", ""),
HIVE_DDL_OUTPUT_FORMAT("hive.ddl.output.format", null),
+ HIVE_ENTITY_SEPARATOR("hive.entity.separator", "@"),

// If this is set all move tasks at the end of a multi-insert query will only begin once all
// outputs are ready

Modified: hive/trunk/conf/hive-default.xml.template
URL: http://svn.apache.org/viewvc/hive/trunk/conf/hive-default.xml.template?rev=1395668&r1=1395667&r2=1395668&view=diff
==============================================================================
--- hive/trunk/conf/hive-default.xml.template (original)
+++ hive/trunk/conf/hive-default.xml.template Mon Oct 8 17:07:44 2012
@@ -1153,6 +1153,12 @@
</property>

<property>
+ <name>hive.entity.separator</name>
+ <value>@</value>
+ <description>Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname</description>
+</property>
+
+<property>
<name>hive.ddl.createtablelike.properties.whitelist</name>
<value></value>
<description>Table Properties to copy over when executing a Create Table Like.</description>

Modified: hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/Entity.java
URL: http://svn.apache.org/viewvc/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/Entity.java?rev=1395668&r1=1395667&r2=1395668&view=diff
==============================================================================
--- hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/Entity.java (original)
+++ hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/hooks/Entity.java Mon Oct 8 17:07:44 2012
@@ -25,6 +25,8 @@ import java.util.Map;
import org.apache.hadoop.hive.ql.metadata.Partition;
import org.apache.hadoop.hive.ql.metadata.DummyPartition;
import org.apache.hadoop.hive.ql.metadata.Table;
+import org.apache.hadoop.hive.ql.session.SessionState;
+import org.apache.hadoop.hive.conf.HiveConf;

/**
* This class encapsulates an object that is being read or written to by the

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedOct 8, '12 at 5:08p
activeOct 8, '12 at 5:08p
posts1
users1
websitehive.apache.org

1 user in discussion

Kevinwilfong: 1 post

People

Translate

site design / logo © 2021 Grokbase