无法从Presto中读取已执行ACID事务(删除/更新)的ORC配置单元表?

时间:2019-07-23 15:09:48

标签: hive presto

我在尝试阅读Pesto时遇到问题:

presto> select * from DEFAULT.MYDIM;
Error: Query 20190722_165050_00066_7g652 failed: Hive table 'default.mydim' is corrupt. Found sub-directory in bucket directory for partition: <UNPARTITIONED>


presto> SELECT * FROM DEFAULT.hello_acid;
Query 20190722_171313_00080_7g652, FAILED, 11 nodes
Splits: 16 total, 0 done (0.00%)
0:01 [0 rows, 0B] [0 rows/s, 0B/s]

Query 20190722_171313_00080_7g652 failed: Hive table 'default.hello_acid' is corrupt. Found sub-directory in bucket directory for partition: load_date=2016-03-02

我该如何解决?

1 个答案:

答案 0 :(得分:3)

Presto当前不支持ACID /事务表,除非它们是完全VACUUM版本的。您可以通过https://github.com/prestosql/presto/issues/576

跟踪此功能请求