Posts by Letícia Araujo • 47 points
5 posts
-
1
votes1
answer41
viewsQ: Save results of a query in csv - Hortonworks Hive
Please, I tried the code below on Hive 1.2.1000.2.6.5.0-292 and there was an error. How can I extract data from a query in a csv without creating a table? hive --e 'select * from product limit 10;'…
-
0
votes1
answer38
viewsQ: Error accessing Hive in Hortonworks Data Platform (HDP) on Hortonworks Sandbox
Good evening, you guys, I am trying to access Hive from Hortonworks Data Platform and an error is appearing. Could you help me? [root@sandbox-hdp ~]# Hive log4j:WARN No such Property…
hiveasked Letícia Araujo 47 -
0
votes1
answer36
viewsQ: Data Modeling
Good afternoon, you guys, I am studying Data Modeling and I was left with doubt regarding how the data should be specified, for example what determines in a code if I use a string or an integer for…
-
1
votes1
answer193
viewsQ: Consolidate . csv files with Python
Good Night, please help me with the question below? I am developing a program that reads all csv’s with the same content of a folder and consoles them in a single file, disregarding the first line,…
-
2
votes2
answers378
viewsQ: Prime Numbers with While and For
I don’t understand how a command finds prime values: for i in range(2,30): j = 2 counter = 0 while j < i: if i % j == 0: counter = 1 j = j + 1 else: j = j + 1 if counter == 0: print(str(i) + " é…