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
…44620)

Signed-off-by: amber-create <[email protected]>
Co-authored-by: amber-create <[email protected]>
  • Loading branch information
mergify[bot] and amber-create authored Apr 23, 2024
1 parent d7d1a63 commit f9cd749
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/en/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ 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.
- ORC files support the following compression formats: ZLIB, SNAPPY, LZO, LZ4, ZSTD, and NO_COMPRESSION.

- 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
4 changes: 2 additions & 2 deletions docs/zh/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ Hive Catalog 是一种 External Catalog。通过 Hive Catalog,您不需要执
## 使用说明

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

- Parquet 文件支持 SNAPPY、LZ4、ZSTD、GZIP 和 NO_COMPRESSION 压缩格式。
- ORC 文件支持 ZLIB、SNAPPY、LZO、LZ4、ZSTD 和 NO_COMPRESSION 压缩格式。

- 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 f9cd749

Please sign in to comment.