From f610e3f7282aac6bba38c695e4a1b07aa024473a Mon Sep 17 00:00:00 2001 From: Larry Ogrodnek Date: Fri, 16 Dec 2011 14:16:13 -0800 Subject: [PATCH] update link to new version, add docs for custom separators... --- index.html | 62 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 59be105..b5d64db 100644 --- a/index.html +++ b/index.html @@ -46,36 +46,56 @@

csv-serde adds real CSV support to hive using opencsv.

-
-
+
+

Download

+

+

+
+

License

+

+ csv-serde is open source and licensed under the Apache 2 License. +

+
+
+ +
+

Using it

 add jar path/to/csv-serde.jar;
 
 create table my_table(a string, b string, ...)
-  row format serde 'com.bizo.hive.serde.csv.CSVSerde'
-  stored as textfile
+ row format serde 'com.bizo.hive.serde.csv.CSVSerde'
+ stored as textfile
 ;	
 	      
-
-
-

Download

-

-

-
-

License

-

- csv-serde is open source and licensed under the Apache 2 License. -

-
+

You can also specify custom separator, quote, or escape + characters.

+
+add jar path/to/csv-serde.jar;
+
+create table my_table(a string, b string, ...)
+ row format serde 'com.bizo.hive.serde.csv.CSVSerde'
+ with serdeproperties (
+   "separatorChar" = "\t",
+   "quoteChar"     = "'",
+   "escapeChar"    = "\\"
+  )	  
+ stored as textfile
+;	
+	      
+ +
+