为什么ORC可以支持蜂箱中的酸



我已经阅读了的文档

"Only ORC file format is supported in this first release.  The feature has been built such that transactions can be used by any storage format that can determine how updates or deletes apply to base records (basically, that has an explicit or implicit row id), but so far the integration work has only been done for ORC."

但我的问题是,为什么只有ORC,为什么它不能用于拼花地板,ORC有什么特殊的东西可以兼容ACID交易吗?

根据cwiki

在第一个版本中只支持ORC文件格式。该功能的构建使得事务可以由任何存储格式使用,这些存储格式可以确定更新或删除如何应用于基本记录(基本上,具有显式或隐式行id(,但到目前为止,集成工作只针对ORC完成。

ORC除了列式存储、压缩文件格式之外没有任何特别之处,这使得它可以快速处理文本文件。理论上可行
此功能于2014年推出,版本为0.13。之后,它们改进了功能,但不适用于其他文件格式。这意味着,可能对其他文件格式没有足够的需求或复杂性,或者他们必须为其他文件格式重写所有内容。

有关事务性功能的更多详细信息,您可以参考此链接。https://cwiki.apache.org/confluence/display/hive/hive+交易

最新更新