Getting exception while updating table in Hive
up vote
0
down vote
favorite
I have created one table in hive from existing s3 file as follows:
create table reconTable (
entryid string,
run_date string
)
LOCATION 's3://abhishek_data/dump1';
Now I would like to update one entry as follows:
update reconTable set entryid='7.24E-13' where entryid='7.24E-14';
But I am getting following error:
FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.
I have gone through a few posts here, but not getting any idea how to fix this.
hive hiveql
add a comment |
up vote
0
down vote
favorite
I have created one table in hive from existing s3 file as follows:
create table reconTable (
entryid string,
run_date string
)
LOCATION 's3://abhishek_data/dump1';
Now I would like to update one entry as follows:
update reconTable set entryid='7.24E-13' where entryid='7.24E-14';
But I am getting following error:
FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.
I have gone through a few posts here, but not getting any idea how to fix this.
hive hiveql
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have created one table in hive from existing s3 file as follows:
create table reconTable (
entryid string,
run_date string
)
LOCATION 's3://abhishek_data/dump1';
Now I would like to update one entry as follows:
update reconTable set entryid='7.24E-13' where entryid='7.24E-14';
But I am getting following error:
FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.
I have gone through a few posts here, but not getting any idea how to fix this.
hive hiveql
I have created one table in hive from existing s3 file as follows:
create table reconTable (
entryid string,
run_date string
)
LOCATION 's3://abhishek_data/dump1';
Now I would like to update one entry as follows:
update reconTable set entryid='7.24E-13' where entryid='7.24E-14';
But I am getting following error:
FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations.
I have gone through a few posts here, but not getting any idea how to fix this.
hive hiveql
hive hiveql
asked Nov 5 at 3:44
Joy
1,02062351
1,02062351
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I think you should create an external
table when reading data from a source like S3
.
Also, you should declare the table in ORC format and set properties 'transactional'='true'
.
Please refer to this for more info: attempt-to-do-update-or-delete-using-transaction-manager
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I think you should create an external
table when reading data from a source like S3
.
Also, you should declare the table in ORC format and set properties 'transactional'='true'
.
Please refer to this for more info: attempt-to-do-update-or-delete-using-transaction-manager
add a comment |
up vote
0
down vote
I think you should create an external
table when reading data from a source like S3
.
Also, you should declare the table in ORC format and set properties 'transactional'='true'
.
Please refer to this for more info: attempt-to-do-update-or-delete-using-transaction-manager
add a comment |
up vote
0
down vote
up vote
0
down vote
I think you should create an external
table when reading data from a source like S3
.
Also, you should declare the table in ORC format and set properties 'transactional'='true'
.
Please refer to this for more info: attempt-to-do-update-or-delete-using-transaction-manager
I think you should create an external
table when reading data from a source like S3
.
Also, you should declare the table in ORC format and set properties 'transactional'='true'
.
Please refer to this for more info: attempt-to-do-update-or-delete-using-transaction-manager
answered Nov 5 at 7:37
Mayank Porwal
1,9101416
1,9101416
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53148032%2fgetting-exception-while-updating-table-in-hive%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password