SelectDB Enterprise
使用指南
数据导入
文件格式
ORC

ORC

本文介绍如何在 Doris 中导入 ORC 格式的数据文件。

支持的导入方式

以下导入方式支持 ORC 格式的数据导入:

使用示例

本节展示了不同导入方式下的 ORC 格式使用方法。

Stream Load 导入

curl --location-trusted -u <user>:<passwd> \
    -H "format: orc" \
    -T example.orc \
    http://<fe_host>:<fe_http_port>/api/example_db/example_table/_stream_load

Broker Load 导入

LOAD LABEL example_db.example_label
(
    DATA INFILE("s3://bucket/example.orc")
    INTO TABLE example_table
    FORMAT AS "orc"
)
WITH S3 
(
    ...
);
 

TVF 导入

INSERT INTO example_table
SELECT *
FROM S3
(
    "uri" = "s3://bucket/example.orc",
    "format" = "orc",
    ...
);
 
© 2025 北京飞轮数据科技有限公司 京ICP备2022004029号 | Apache、Apache Doris 以及相关开源项目名称均为 Apache 基金会商标