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)

# Conflicts:
#	docs/en/data_source/catalog/hive_catalog.md
#	docs/zh/data_source/catalog/hive_catalog.md
  • Loading branch information
amber-create authored and mergify[bot] committed Apr 23, 2024
1 parent 45c38a8 commit b7b22b6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/en/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@ To ensure successful SQL workloads on your Hive cluster, your StarRocks cluster
## Usage notes

<<<<<<< HEAD
- The file formats of Hive that StarRocks supports are Parquet, ORC, and CSV:
=======
- The file formats of Hive that StarRocks supports are Parquet, ORC, Textfile, Avro, RCFile, and SequenceFile:
>>>>>>> 38f703bdbe ([Doc] update csv to textfile in Hive catalog doc (#44610))
- 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.

<<<<<<< HEAD
- 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.
- You can only use Hive catalogs to query data. You cannot use Hive catalogs to drop, delete, or insert data into your Hive cluster.
=======
- 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.
>>>>>>> 38f703bdbe ([Doc] update csv to textfile in Hive catalog doc (#44610))
## Integration preparations

Expand Down
10 changes: 9 additions & 1 deletion docs/zh/data_source/catalog/hive_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,22 @@ StarRocks 从 2.3 版本开始支持 Hive Catalog。另外从 3.1 版本起,
## 使用说明

<<<<<<< HEAD
- StarRocks 查询 Hive 数据时,支持 Parquet、ORC 和 CSV 三种文件格式,其中:
=======
- StarRocks 查询 Hive 数据时,支持 Parquet、ORC、Textfile、Avro、RCFile、SequenceFile 文件格式,其中:
>>>>>>> 38f703bdbe ([Doc] update csv to textfile in Hive catalog doc (#44610))
- 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 压缩格式。

<<<<<<< HEAD
- StarRocks 查询 Hive 数据时,不支持 INTERVAL、BINARY 和 UNION 三种数据类型。此外,对于 CSV 格式的 Hive 表,StarRocks 不支持 MAP、STRUCT 数据类型。
- Hive Catalog 仅支持查询 Hive 数据,不支持针对 Hive 的写/删操作。
=======
- StarRocks 查询 Hive 数据时,不支持 INTERVAL、BINARY 和 UNION 三种数据类型。此外,对于 Textfile 格式的 Hive 表,StarRocks 不支持 MAP、STRUCT 数据类型。
>>>>>>> 38f703bdbe ([Doc] update csv to textfile in Hive catalog doc (#44610))
## 准备工作

Expand Down

0 comments on commit b7b22b6

Please sign in to comment.