Member since
01-26-2017
5
Posts
1
Kudos Received
0
Solutions
05-11-2020
03:51 AM
I had question to write hive script to produce report. But location/file_name details were missing for the report. I wrote query to export report on HDFS location. In test result I got Incorrect solution SQL comment. Please let me know what is the expected result for this type of question. Thanks.
... View more
Labels:
- Labels:
-
Apache Hive
-
Certification
08-10-2016
06:33 AM
sqoop import --connect jdbc:mysql://localhost/test --username sat --query " select id,name from employee where \$CONDITIONS and name = 'sathish' " --split-by id --target-dir taget-dir-name This query works fine. When you are using double-quote to specify sql statement then you have to use \$CONDITIONS instead of only $CONDITIONS
... View more