-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to access managed table in hive 3.1.0 by using presto? #12484
Comments
Which Presto version are you using? Also, when you say "I can't access managed table", what exactly are you observing? Are you getting exceptions while accessing such tables? |
Thanks for your reply @nezihyigitbasi
1.hive: CREATE TABLE acidtest_22 (a INTEGER)
STORED AS ORC
tblproperties("transactional"="true");
insert overwrite table acidtest_22 select 1;
select * from acidtest_22
+----+
| a |
+----+
| 1 |
+----+ 2.presto: presto:default> select * from acidtest_22;
a
---
0
(1 row)
Query 20190331_103523_00017_mbyep, FINISHED, 1 node
Splits: 17 total, 17 done (100.00%)
0:01 [1 rows, 609B] [1 rows/s, 908B/s]
presto:default> question: the web:
|
I had the same problem 2、Hive
3、Presto
4、Presto UI
How to solve this problem |
I had the same problem too. |
I found another way to access hive managed table 1、hive create external table
2、presto create managed table from external table
3、I found the difference between hive create managed table and presto create managed table
4、Modified hive managed table property
5、presto select data
so , how to solve this problem? |
@nezihyigitbasi Hi,does presto support hive 3.1.0? |
I had the same problem too. |
Am using Hive 1.1.0 on CDH 5.14.2 Tried below things... Anyone managed to fix this? |
I had the same problem too, some update ? |
setting this property |
The only way I got the ability to read Hive 3.X tables using presto (v0.231) is to set the property Adding to @dawsongzhao example test: Hive:
Presto:
Is there any development or on the roadmap to extend compatibility with Hive 3.X by default in presto? |
why the presto can not support hive 3.X transcational table? |
Using Hive transactional tables needs changes in Presto. This support in prestosql was blogged recently: https://prestosql.io/blog/2020/06/01/hive-acid.html. Similar changes will have to be done in prestodb. |
Hello, your link can not be accessed, can you describe it again? Wanted to see how you handled it. Thanks |
The link is now here: https://trino.io/blog/2020/06/01/hive-acid.html |
Now we can use presto to access external table in hive 3.1.0 installed by hdp3.1.0; But I can't access managed table using presto; Is there any configuration we lost?
The text was updated successfully, but these errors were encountered: