Skip to content

Commit

Permalink
[Doc] update csv to textfile in Hive catalog doc (#44610)
Browse files Browse the repository at this point in the history
(cherry picked from commit 38f703b)
  • Loading branch information
amber-create authored and mergify[bot] committed Apr 23, 2024
1 parent 2e879b1 commit 85b25c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/en/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ To ensure successful SQL workloads on your Hive cluster, your StarRocks cluster

## Usage notes

- The file formats of Hive that StarRocks supports are Parquet, ORC, CSV, Avro, RCFile, and SequenceFile:
- The file formats of Hive that StarRocks supports are Parquet, ORC, Textfile, Avro, RCFile, and SequenceFile:

- Parquet files support the following compression formats: SNAPPY, LZ4, ZSTD, GZIP, and NO_COMPRESSION. From v3.1.5 onwards, Parquet files also support the LZO compression format.
- ORC files support the following compression formats: ZLIB, SNAPPY, LZO, LZ4, ZSTD, and NO_COMPRESSION.
- CSV files support the LZO compression format from v3.1.5 onwards.
- Textfile files support the LZO compression format from v3.1.5 onwards.

- The data types of Hive that StarRocks does not support are INTERVAL, BINARY, and UNION. Additionally, StarRocks does not support the MAP and STRUCT data types for CSV-formatted Hive tables.
- The data types of Hive that StarRocks does not support are INTERVAL, BINARY, and UNION. Additionally, StarRocks does not support the MAP and STRUCT data types for Textfile-formatted Hive tables.

## Integration preparations

Expand Down
6 changes: 3 additions & 3 deletions docs/zh/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ Hive Catalog 是一种 External Catalog,自 2.3 版本开始支持。通过 Hi

## 使用说明

- StarRocks 查询 Hive 数据时,支持 Parquet、ORC 、CSV 、Avro、RCFile、SequenceFile 文件格式,其中:
- StarRocks 查询 Hive 数据时,支持 Parquet、ORC、Textfile、Avro、RCFile、SequenceFile 文件格式,其中:

- Parquet 文件支持 SNAPPY、LZ4、ZSTD、GZIP 和 NO_COMPRESSION 压缩格式。自 v3.1.5 起,Parquet 文件还支持 LZO 压缩格式。
- ORC 文件支持 ZLIB、SNAPPY、LZO、LZ4、ZSTD 和 NO_COMPRESSION 压缩格式。
- CSV 文件从 v3.1.5 起支持 LZO 压缩格式。
- Textfile 文件从 v3.1.5 起支持 LZO 压缩格式。

- StarRocks 查询 Hive 数据时,不支持 INTERVAL、BINARY 和 UNION 三种数据类型。此外,对于 CSV 格式的 Hive 表,StarRocks 不支持 MAP、STRUCT 数据类型。
- StarRocks 查询 Hive 数据时,不支持 INTERVAL、BINARY 和 UNION 三种数据类型。此外,对于 Textfile 格式的 Hive 表,StarRocks 不支持 MAP、STRUCT 数据类型。

## 准备工作

Expand Down

0 comments on commit 85b25c3

Please sign in to comment.