mirror of
https://github.com/apache/sqoop.git
synced 2025-05-04 04:00:53 +08:00

Hive allows the use of keywords as column and table names as long as they are escaped using back-ticks. This change makes Sqoop always escape table and column names using back-ticks thereby allowing Sqoop to work with Hive tables that use keywords for either the table name or column names. (Lars Francke via arvind) From: Arvind Prabhakar <arvind@cloudera.com> git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149989 13f79535-47bb-0310-9956-ffa450edef68
2 lines
208 B
Plaintext
2 lines
208 B
Plaintext
CREATE TABLE IF NOT EXISTS `CREATE_ONLY_HIVE_IMPORT` ( `DATA_COL0` STRING, `DATA_COL1` INT, `DATA_COL2` STRING) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\001' LINES TERMINATED BY '\012' STORED AS TEXTFILE;
|