Thanks a lot for your answer, Alan!
17.03.2015, 18:20, "Alan Gates" :
> This feature is not available in Hive 1.1. It will be added in 1.2 (it has
> already been checked into trunk). In 1.1 and previous your values clause has
> to contain a value for every column in the table in the proper ord
This feature is not available in Hive 1.1. It will be added in 1.2 (it
has already been checked into trunk). In 1.1 and previous your values
clause has to contain a value for every column in the table in the
proper order. So you would change your insert below to be
insert into person values
I have just installed and configured Apache Hive version 1.1.0. Then I have
created a table by quering this query:
create table person (name1 string, surname1 string);
And then I want to add one row by:
insert into person (name1, surname1) values ("Alan", "Green");
And it cause an error:
Err
AM
> To: "user@hive.apache.org"
> Subject: Re: Strange error in Hive - Insert INTO
>
> Hi Jerome,
> That's a grandiose sql statement you got there! :)I find that if you
> break up those nested queries into simple CTAS (Create Table AS) statements
;user@hive.apache.org<mailto:user@hive.apache.org>"
mailto:user@hive.apache.org>>
Date: Wednesday, August 14, 2013 8:43 AM
To: "user@hive.apache.org<mailto:user@hive.apache.org>"
mailto:user@hive.apache.org>>
Subject: Re: Strange error in Hive - Insert INT
Hi Jerome,
That's a grandiose sql statement you got there! :)I find that if you
break up those nested queries into simple CTAS (Create Table AS) statements
and create a cascading effect of referring to the table in the previous
step it makes debugging *so* much easier. In other SQL dialects li
Hi everybody,
I faced a strange error in Hive today.
I have launch a hive script to make some calculations, joins, union, etc...
and then insert these results in over hive table.
Everything is working fine (.hql is working, full ok, data are imported),
but one field (CO_RGRP_PRODUITS) is very st
Prasad,
Isn't the fractional part of the TIMESTAMP type supposed to be optional, as
per the error message :
Failed with exception
java.io.IOException:java.lang.IllegalArgumentException: Timestamp format
must be -mm-dd hh:mm:ss[.f]
Shall we understand 9 digits for fractional part are
Dilip,
Looks like you are using the data from the original schema for this new
table that has single timestamp column. When I tried with just the
timestamp from your data, the query runs fine. I guess the original issue
you hit on the data that didn't have fraction part (1969-12-31 19:00:00, no
Dileep,
Can you use a more contemporary timestamp? Something after Jan 1, 1970
GMT, say Jan 1st, 2013?
Let us know what you see.
On Tue, Mar 5, 2013 at 2:56 PM, Dileep Kumar wrote:
> --hdfs dfs -mkdir /hive/tpcds/date_ts
>
> create external table date_ts
> (
> d_datetimest
--hdfs dfs -mkdir /hive/tpcds/date_ts
create external table date_ts
(
d_datetimestamp
)
row format delimited fields terminated by '|'
location '/hive/tpcds/date_ts';
[cloudera@localhost tmp-work]$ hive -e "select * from date_ts"
Logging initialized using configuration in
f
No.
Here are the errors:
Task with the most failures(4):
-
Task ID:
task_1361599885844_0013_m_00
URL:
http://localhost.localdomain:50030/taskdetails.jsp?jobid=job_1361599885844_0013&tipid=task_1361599885844_0013_m_00
-
Diagnostic Messages for this Task:
Error: java.lang.RuntimeE
Hi Dilip,
Are you able to run this query successfully?
select d_date_sk, d_date_id, d_date, d_month_seq, d_week_seq,
d_quarter_seq, d_dow, d_moy, d_dom, d_qoy, d_fy_year,
d_fy_quarter_seq, d_fy_week_seq, d_day_name, d_quarter_name,
d_holiday, d_weekend, d_following_holiday, d_first_dom, d_last_dom
apache.org
Sent: Wednesday, July 4, 2012 1:35:48 AM
Subject: Re: Hive insert into
Hi Abhi
When you say INSERT INTO in hive it needn't be a file append. In hive the data
corresponding to a table/partition is in a directory, data is stored as one or
more files within those.
AFAIK when you
hdfs file append needn't come to picture here.
Regards
Bejoy KS
Sent from handheld, please excuse typos.
-Original Message-
From: abhiTowson cal
Date: Wed, 4 Jul 2012 00:40:03
To:
Reply-To: user@hive.apache.org
Subject: Re: Hive insert into
hi youngwoo
Thanks for your reply.Can y
hi youngwoo
Thanks for your reply.Can you justify your answer hdfs doesnot support
append, so how hive does it?
Regards
Abhi
On Tue, Jul 3, 2012 at 11:56 PM, 김영우 wrote:
> Abhi,
>
> Hive supports INSERT INTO syntax but you should use Hive 0.8 or higher. See
> https://cwiki.apache.org/confluenc
Abhi,
Hive supports INSERT INTO syntax but you should use Hive 0.8 or higher. See
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-InsertingdataintoHiveTablesfromqueries
- Youngwoo
On Wed, Jul 4, 2012 at 11:19 AM, Abhishek wrote:
> Hi all,
>
> Will hive sup
Hi all,
Will hive support INSERT INTO ? and It is nothing but, appending new data to
the existing data.Can any one please tell me how does it happen and which
version of hive supports this?
Regards
Abhi
Sent from my iPhone
18 matches
Mail list logo