Member since
12-09-2015
106
Posts
40
Kudos Received
20
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3061 | 12-26-2018 08:07 PM | |
2784 | 08-17-2018 06:12 PM | |
1480 | 08-09-2018 08:35 PM | |
12511 | 01-03-2018 12:31 AM | |
1059 | 11-07-2017 05:53 PM |
02-16-2017
04:55 PM
@Davide Ferrari could you post "dfs -lsr" of your table dir please Are you able to see the _tmp... file?
... View more
02-16-2017
04:43 PM
This looks like https://issues.apache.org/jira/browse/HIVE-15309 in which case it can be ignored
... View more
02-16-2017
04:00 PM
1 Kudo
This has been fixed in https://issues.apache.org/jira/browse/HIVE-15181. In the meantime you can set hive.direct.sql.max.query.length=1;set
hive.direct.sql.max.elements.in.clause=1000; for the Standalone Metastore process(es).
... View more
02-15-2017
10:42 PM
@Navendu Garg, could you share your table definition (show create table T)
... View more
02-03-2017
07:43 PM
1 Kudo
Currently there is no way to do this. Once there is a release that includes HIVE-10924 you will be able to do using Merge: merge into z_test1 using z_test z on z_test1.LastName=z.LastName when matched then update set LastName=z.LastName;
... View more
02-03-2017
06:30 PM
1 Kudo
This syntax is not supported in Hive. The same can be achieve using SQL Merge statement which is implemented in https://issues.apache.org/jira/browse/HIVE-10924.
... View more
01-27-2017
05:30 PM
1 Kudo
That doc link is wrong. VALUES clause works with any table. hive> create table T(a int, b int);
OK
Time taken: 0.326 seconds
hive> insert into T values(1,2),(3,4);
Query ID = cstm-hdfs_20170127172630_99a0bfa1-6f10-427b-aed1-fd0648f02f73
Total jobs = 1
Launching Job 1 out of 1
Status: Running (Executing on YARN cluster with App id application_1485331877667_0022)
--------------------------------------------------------------------------------
VERTICES STATUS TOTAL COMPLETED RUNNING PENDING FAILED KILLED
--------------------------------------------------------------------------------
Map 1 .......... SUCCEEDED 1 1 0 0 0 0
--------------------------------------------------------------------------------
VERTICES: 01/01 [==========================>>] 100% ELAPSED TIME: 7.62 s
--------------------------------------------------------------------------------
Loading data to table tpch.t
Table tpch.t stats: [numFiles=1, numRows=2, totalSize=8, rawDataSize=6]
OK
Time taken: 9.487 seconds
hive> select * from T;
OK
1 2
3 4
Time taken: 0.232 seconds, Fetched: 2 row(s)
hive>
... View more
01-16-2017
11:38 PM
You cannot update any of the bucketing columns/partition columns I'm not sure I understand the 2nd question. Hive update/delete are meant for slowly changing data, rather than OLTP type of workload. The cost updating 10% of the rows in 100M row table is about the same as updating 0.1%. If you execute many update/delete statements, your read performance may will also be affected until you run Compaction on the table/partition.
... View more
01-16-2017
10:52 PM
2 Kudos
[transactional' true] - note the extra single quote there. Can you try recreating the XYZ table w/o this?
... View more