Member since
04-14-2016
54
Posts
9
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
21793 | 06-27-2016 07:20 AM | |
2003 | 05-09-2016 10:10 AM |
06-09-2016
03:38 PM
Hello, I have a smalldatetime data in my database server sql data and when I matter with Sqoop , this data is stored in the Hive String format because smalldatetime does not exist in the hive tool. This becomes probmématique for my work.
Anyone know if there a way to import through Sqoop , smallldatetime a data type of sql server and store the timestamp format recognized by Hive . thanks
... View more
Labels:
- Labels:
-
Apache Hive
-
Apache Spark
-
Apache Sqoop
06-08-2016
08:42 AM
Hello, thank you. Here it goes. And i also found parquet file. Currently I am also looking to save as csv file and text if possible. Cordially
... View more
06-07-2016
07:49 AM
I tried with hive_context.write.format("orc").save("test_orc") but I receive this error:
>>> hive_context.write.format("orc").save("hdfs://dev/datalake/app/des/dev/transformer/test_orc")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'HiveContext' object has no attribute 'write' Thanks
... View more
06-07-2016
07:36 AM
Thank you. But here are the errors generated by the two attributes saveAsHadoopFile and .write.format: This means that these two attributes are not recognized by HiveContext. Thank you !!!
... View more
06-07-2016
07:05 AM
1 Kudo
Hello I work with Hive- Context to load and manipulate data in my orc format. I
would now please know how to save in the hdfs file the results of a sql queries ? Help me please? Here is my Hive-Context code, I would like to save the contents of hive_context in a file on my hdfs : Thanks you in advance from pyspark.sql import HiveContext from pyspark import SparkContext
sc =SparkContext()
hive_context = HiveContext(sc) qvol = hive_context.table("<bdd_name>.<table_name>") qvol.registerTempTable("qvol_temp") hive_context.sql("select * from qvol_temp limit 10").show()
... View more
Labels:
- Labels:
-
Apache Hive
06-03-2016
07:07 AM
I created a query view with hive in Hue and I would like to modify its definition without deleting . Can you help me please
... View more
Labels:
- Labels:
-
Apache Hive
-
Cloudera Hue
05-23-2016
09:15 AM
Thank you for your suggestions
... View more
05-23-2016
09:14 AM
Hi !!! Thank you. But I found what to do . I just had to add in my script, --split-by "colonne_id"
... View more
- « Previous
- Next »