Member since
03-23-2015
1288
Posts
114
Kudos Received
98
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3350 | 06-11-2020 02:45 PM | |
5065 | 05-01-2020 12:23 AM | |
2861 | 04-21-2020 03:38 PM | |
3564 | 04-14-2020 12:26 AM | |
2360 | 02-27-2020 05:51 PM |
11-08-2017
08:11 PM
You will need to update the VIEW: ALTER VIEW v1 AS SELECT * FROM t1; The columns for the VIEW is stored separately as the table's columns, updating the table will not affect the VIEW. You will need to manually update it.
... View more
11-07-2017
10:51 PM
Glad that issue is now resolved!
... View more
11-01-2017
08:51 PM
This will not work. set hivevar:tab_dt= substr(date_sub(current_date,1),1,10); Only sets variable hivevar:tab_dt to be string "substr(date_sub(current_date,1),1,10)", not the value as the result of evaluation of the function call. You will need get the date string outside of Hive and then pass in as the variable. So below will work: set hivevar:tab_dt=2017_10_01; create table test_${hivevar:tab_dt} (a int);
... View more
11-01-2017
08:09 PM
You can create hive external table to link to the data in HDFS, and then write data into another table which will be partitioned by date. Use date functions in Hive to convert timestamp to the value you want: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-DateFunctions INSERT OVERWRITE TABLE partitioned_table PARTITION (date_column) SELECT ...., to_date(timestamp_column) as date_column FROM source_table; Something like this.
... View more
10-31-2017
09:29 PM
Can you also share the ClouderaODBCDriverforImpala_connection_0.log file? If PROFILE and log files are too big, are you able to share through Dropbox or other online tools? They should help us understand more on the issue.
... View more
10-31-2017
08:24 PM
Are you able to share the full PROFILE output of the query for review? That queries through OBDC driver?
... View more
10-30-2017
10:10 PM
You can enable TRACE logging for ODBC driver via "Logging Options" menu, and then you can see what happened on the client side. Please also check on HS2 log to see what message displays there.
... View more
10-29-2017
03:42 PM
The following link: http://gethue.com/use-the-shell-action-in-oozie/ from Hue website is about how to setup script shell in Hue Oozie interface. Python script will be similar. I suggest you go through the documentation on Hue for more detailed info.
... View more
10-29-2017
03:32 PM
Can you please share the content of shexample7.sh? I would like to see how you launch the spark job in shell script.
... View more
10-26-2017
03:10 PM
Hi Ullas, Can you please share the DDL of the table from both Impala and Hive and also the ALTER command you used to update schema? Thanks
... View more