Member since
11-11-2019
622
Posts
33
Kudos Received
25
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1634 | 02-28-2023 09:32 PM | |
2788 | 02-27-2023 03:33 AM | |
25284 | 12-24-2022 05:56 AM | |
2211 | 12-05-2022 06:17 AM | |
5702 | 11-25-2022 07:37 AM |
07-02-2021
05:18 AM
Hi Srinivas, Thanks for the update. Could you please give the kudos,if the solution has worked ? Thanks, Asish
... View more
06-30-2021
11:19 PM
thanks for the answer, I also tried other ODBC drivers but they all act the same way.
... View more
06-27-2021
07:10 AM
As per HIVE-12192, by default, Hive displays timestamp in UTC. This article lists the Hive query commands that can be used to change the timestamp.
To display the current timestamp in Asia/Kolkata:
SELECT from_utc_timestamp(cast(from_unixtime(cast(current_timestamp() AS bigint)) as TIMESTAMP),"Asia/Kolkata")
To display a UNIX epoch number in Asia/Kolkata:
SELECT from_utc_timestamp(cast(from_unixtime(cast(1623943533 AS bigint)) as TIMESTAMP),"Asia/Kolkata") ;
... View more
Labels:
06-27-2021
06:45 AM
To list all the tables that are ACID(TRANSACTIONAL)/ NON_TRANSACTIONAL, perform the following steps:
Connect to the backend database
Execute "use hive" as all the tables are in the Hive database Note: Please check if the database name is different. This is specified at the time of creating the Hive service.
Execute the following to check for ACID table: select PARAM_KEY,PARAM_VALUE,TBL_NAME from TABLE_PARAMS,TBLS where PARAM_KEY='transactional' and PARAM_VALUE='true' and TABLE_PARAMS.TBL_ID=TBLS.TBL_ID;
OR, execute below to check for NON-TRANSACTIONAL table.
select PARAM_KEY,PARAM_VALUE,TBL_NAME from TABLE_PARAMS,TBLS where PARAM_KEY='transactional' and PARAM_VALUE='false' and TABLE_PARAMS.TBL_ID=TBLS.TBL_ID;
... View more
Labels:
05-03-2021
09:41 AM
@Raul23 Is datagrip a Java or non Java application? If it is a Java application. you need to use JDBC driver and use ODBC driver,if it is a non-java application. Download ODBC driver from https://www.cloudera.com/downloads/connectors/hive/odbc/2-6-9.html Driver JDBC drivers from https://www.cloudera.com/downloads/connectors/hive/jdbc/2-6-13.html Please select the latest driver. Please follow https://docs.cloudera.com/HDPDocuments/other/connectors/hive-jdbc/2.6.7/Simba-Hive-JDBC-Install-and-Configuration-Guide.pdf to configure
... View more
04-07-2021
12:31 AM
Hi @Magudeswaran , I can rewrite the query using sub-queries, but I have the same error: select count(*) as num_all_changes from ( select s.cod_pers, count(*) as num_changes from ( select t.cod_pers, t.cod_address, count(*) as num_address from be_prd_prt.test_case as t group by t.cod_pers, t.cod_address ) as s group by s.cod_pers having count(*)>1 ) as gg ; +------------------+ | num_all_changes | +------------------+ | 63 | | 58 | | 64 | | 59 | +------------------+ 4 rows selected (18.077 seconds) As you can see, always 4 rows...
... View more
03-12-2021
02:39 AM
Follow https://community.cloudera.com/t5/Support-Questions/Hive-staging-directory-not-getting-cleaned-up/td-p/43976,if you are running large number of queriesies through hue
... View more
03-12-2021
12:24 AM
1 Kudo
COuld you please collect STATS and check,if it returns in corect counts https://docs.cloudera.com/HDPDocuments/HDP2/HDP-2.6.5/bk_cloud-data-access/content/hive-analyzing-tables.html
... View more
01-12-2021
12:01 AM
Hive on spark is not supported on HDP 3.0.1 . You need to use Spark HWC and integrate with LLAP to take advantage, In HDP 3.x ,Tez is the default execution engine and you can also use MR.
... View more
12-16-2020
03:33 AM
Apologies for the late reply .We need the driver logs. Please check the below document to get the JDBC driver logs. https://www.simba.com/resources/drivers/enable-logging-odbc-driver/
... View more