Presto 可能的 table 格式值
Presto possible table format values
根据 to the docs,在 Presto
中创建 table 时
CREATE TABLE orders (
orderkey bigint,
orderstatus varchar,
totalprice double,
orderdate date
)
WITH (format = 'ORC')
您可以指定 format = 'xxx'
。除了'ORC'我知道还有一个TEXTFILE
。我很好奇 format
还有哪些其他选项?还有你不应该使用 'ORC' 的原因吗(我想这是默认设置)。
对于 Hive 连接器,Hive connector documentation 中列出了支持的文件格式。
ORC 不是 默认值(hive.storage-format
连接器配置 属性 在 CREATE TABLE
中未指定时管理默认格式并且该设置当前默认为RCBINARY
),尽管它通常是值得推荐的选择。
根据 to the docs,在 Presto
中创建 table 时CREATE TABLE orders (
orderkey bigint,
orderstatus varchar,
totalprice double,
orderdate date
)
WITH (format = 'ORC')
您可以指定 format = 'xxx'
。除了'ORC'我知道还有一个TEXTFILE
。我很好奇 format
还有哪些其他选项?还有你不应该使用 'ORC' 的原因吗(我想这是默认设置)。
对于 Hive 连接器,Hive connector documentation 中列出了支持的文件格式。
ORC 不是 默认值(hive.storage-format
连接器配置 属性 在 CREATE TABLE
中未指定时管理默认格式并且该设置当前默认为RCBINARY
),尽管它通常是值得推荐的选择。