Skip to content

Commit

Permalink
[Doc] update csv to textfile in Hive catalog doc (backport #44610) (#…
Browse files Browse the repository at this point in the history
…44619)

Signed-off-by: amber-create <48005258@qq.com>
Co-authored-by: amber-create <48005258@qq.com>
  • Loading branch information
mergify[bot] and amber-create authored Apr 23, 2024
1 parent 45c38a8 commit 5d52e24
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 @@ -20,13 +20,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, and CSV:
- The file formats of Hive that StarRocks supports are Parquet, ORC, and Textfile:

- 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.
- You can only use Hive catalogs to query data. You cannot use Hive catalogs to drop, delete, or insert data into your Hive cluster.

## 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 @@ -20,13 +20,13 @@ StarRocks 从 2.3 版本开始支持 Hive Catalog。另外从 3.1 版本起,
## 使用说明

- StarRocks 查询 Hive 数据时,支持 Parquet、ORC 和 CSV 三种文件格式,其中:
- StarRocks 查询 Hive 数据时,支持 Parquet、ORC 和 Textfile 三种文件格式,其中:

- 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 数据类型。
- Hive Catalog 仅支持查询 Hive 数据,不支持针对 Hive 的写/删操作。

## 准备工作
Expand Down

0 comments on commit 5d52e24

Please sign in to comment.