Open wangshengQAQ opened 4 years ago
Create ORC table in presto and insert a record.
DROP TABLE presto:default> create table test (id int) with (format = 'ORC'); CREATE TABLE presto:default> insert into test values(1); INSERT: 1 row
When I first queryed this table with beeline.
0: jdbc:hive2://arm15:2181/default> select * from test; +----------+ | test.id | +----------+ | 1 | +----------+ 1 row selected (0.36 seconds)
when I second queryed this table with beeline.
0: jdbc:hive2://arm15:2181/default> select * from test; Error: java.io.IOException: java.lang.RuntimeException: ORC split generation failed with exception: Malformed ORC file. Invalid postscript length 17 (state=,code=0)
Now I insert a record in presto once again.
presto:default> insert into test values(2); INSERT: 1 row
Queryed this table with beeline.
0: jdbc:hive2://arm15:2181/default> select * from test; +----------+ | test.id | +----------+ | 1 | | 2 | +----------+ 2 rows selected (0.476 seconds)
Anybody tell me why? ths!
I have the same problem with presto db version 0.232, hive 3.1 how to fix this?
any progress on this issue? Seems presto sql is fixed the issue yet. I have the same problem with presto db
Create ORC table in presto and insert a record.
When I first queryed this table with beeline.
when I second queryed this table with beeline.
Now I insert a record in presto once again.
Queryed this table with beeline.
Anybody tell me why? ths!