Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-section-order

SQL function docs must contain sections in this order%3A Description%2C Syntax%2C Parameters%2C Return Value%2C Example. Missing%3A Example. Owner%3A @zclllyybb

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "EXPLODE_SPLIT - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @zclllyybb
{
"title": "EXPLODE_SPLIT",
"language": "zh-CN",
Expand All @@ -11,14 +11,14 @@
`explode_split` 表函数用于将字符串按照指定分隔符拆分为多个子字符串,并将每个子字符串展开为一行。每个子字符串作为单独的行返回,通常与 LATERAL VIEW 一起使用,便于将长字符串拆解为单独的部分,进行更细粒度的查询。

`explode_split_outer` 与 `explode_split` 类似。但与 `explode_split` 不同的是,它在处理空值和 NULL 值时会有不同的行为,能够处理空的或 NULL 的字符串。

Check notice on line 14 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-parameters-table

Parameters section must be a Markdown table with Parameter and Description columns. Owner%3A @zclllyybb
## 语法
```sql
EXPLODE_SPLIT(<str>, <delimiter>)
EXPLODE_SPLIT_OUTER(<str>, <delimiter>)
```

## 参数

Check notice on line 21 in i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-return-type

Return Value section must state the returned type. Owner%3A @zclllyybb

| 参数 | 说明 |
| -- | -- |
Expand All @@ -31,6 +31,12 @@

## 举例

```sql
-- setup
create table example1(k1 int, k2 varchar(50)) distributed by hash(k1) buckets 1 properties ("replication_num"="1");
insert into example1 values (1,''),(2,null),(3,','),(4,'1'),(5,'1,2,3'),(6,'a, b, c');
```

```sql
select * from example1 order by k1;
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-section-order

SQL function docs must contain sections in this order%3A Description%2C Syntax%2C Parameters%2C Return Value%2C Example. Missing%3A Example. Owner%3A @zclllyybb

Check warning on line 1 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "EXPLODE_SPLIT - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @zclllyybb
{
"title": "EXPLODE_SPLIT",
"language": "zh-CN",
Expand All @@ -11,14 +11,14 @@
`explode_split` 表函数用于将字符串按照指定分隔符拆分为多个子字符串,并将每个子字符串展开为一行。每个子字符串作为单独的行返回,通常与 LATERAL VIEW 一起使用,便于将长字符串拆解为单独的部分,进行更细粒度的查询。

`explode_split_outer` 与 `explode_split` 类似。但与 `explode_split` 不同的是,它在处理空值和 NULL 值时会有不同的行为,能够处理空的或 NULL 的字符串。

Check warning on line 14 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-parameters-table

Parameters section must be a Markdown table with Parameter and Description columns. Owner%3A @zclllyybb
## 语法
```sql
EXPLODE_SPLIT(<str>, <delimiter>)
EXPLODE_SPLIT_OUTER(<str>, <delimiter>)
```

## 参数

Check warning on line 21 in i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-return-type

Return Value section must state the returned type. Owner%3A @zclllyybb

| 参数 | 说明 |
| -- | -- |
Expand All @@ -31,6 +31,12 @@

## 举例

```sql
-- setup
create table example1(k1 int, k2 varchar(50)) distributed by hash(k1) buckets 1 properties ("replication_num"="1");
insert into example1 values (1,''),(2,null),(3,','),(4,'1'),(5,'1,2,3'),(6,'a, b, c');
```

```sql
select * from example1 order by k1;
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check warning on line 1 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "EXPLODE_SPLIT - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @zclllyybb
{
"title": "EXPLODE_SPLIT",
"language": "en",
Expand All @@ -12,7 +12,7 @@

`explode_split_outer` is similar to `explode_split`, but it differs in the way it handles empty or NULL strings.

## Syntax

Check notice on line 15 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-parameters-table

Parameters section must be a Markdown table with Parameter and Description columns. Owner%3A @zclllyybb

```sql
EXPLODE_SPLIT(<str>, <delimiter>)
Expand All @@ -25,13 +25,19 @@
| -- | -- |
| `<str>` | String type |
| `<delimiter>` | Delimiter |

Check notice on line 28 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-example-output

Every fenced sql query in Example must be followed by a fenced text block with expected output. Owner%3A @zclllyybb
## Return Value

Returns a sequence of the split substrings. If the string is empty or NULL, no rows are returned.

## Examples

```sql
-- setup
create table example1(k1 int, k2 varchar(50)) distributed by hash(k1) buckets 1 properties ("replication_num"="1");
insert into example1 values (1,''),(2,null),(3,','),(4,'1'),(5,'1,2,3'),(6,'a, b, c');
```

```sql
select * from example1 order by k1;
```
Expand All @@ -54,7 +60,7 @@
```

```text
+------+------+

Check notice on line 63 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-example-output

Every fenced sql query in Example must be followed by a fenced text block with expected output. Owner%3A @zclllyybb
| k1 | e1 |
+------+------+
| 1 | |
Expand Down Expand Up @@ -111,7 +117,7 @@
```text
+------+------+
| k1 | e1 |
+------+------+

Check notice on line 120 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-example-output

Every fenced sql query in Example must be followed by a fenced text block with expected output. Owner%3A @zclllyybb
| 6 | b |
| 6 | c |
| 6 | a |
Expand All @@ -121,11 +127,11 @@
```sql
CREATE TABLE example2 (
id INT,
str string null

Check notice on line 130 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-example-output

Every fenced sql query in Example must be followed by a fenced text block with expected output. Owner%3A @zclllyybb
)DUPLICATE KEY(id)
DISTRIBUTED BY HASH(`id`) BUCKETS AUTO
PROPERTIES (
"replication_allocation" = "tag.location.default: 1");

Check notice on line 134 in versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-example-output

Every fenced sql query in Example must be followed by a fenced text block with expected output. Owner%3A @zclllyybb
```

```sql
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---

Check notice on line 1 in versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

i18n-sync-locale-candidate

Japanese docs are report-only. Generate a candidate translation from the changed files and merge it only after human review. Owner%3A @zclllyybb

Check warning on line 1 in versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

seo-title-duplicate

Rendered SEO title is duplicated across indexable pages%3A "EXPLODE_SPLIT - Apache Doris". Add a version%2C locale%2C or page-specific qualifier. Owner%3A @zclllyybb
{
"title": "EXPLODE_SPLIT",
"language": "en",
Expand All @@ -12,7 +12,7 @@

`explode_split_outer` is similar to `explode_split`, but it differs in the way it handles empty or NULL strings.

## Syntax

Check warning on line 15 in versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-split.md

View workflow job for this annotation

GitHub Actions / Build Check

sql-function-parameters-table

Parameters section must be a Markdown table with Parameter and Description columns. Owner%3A @zclllyybb

```sql
EXPLODE_SPLIT(<str>, <delimiter>)
Expand All @@ -32,6 +32,12 @@

## Examples

```sql
-- setup
create table example1(k1 int, k2 varchar(50)) distributed by hash(k1) buckets 1 properties ("replication_num"="1");
insert into example1 values (1,''),(2,null),(3,','),(4,'1'),(5,'1,2,3'),(6,'a, b, c');
```

```sql
select * from example1 order by k1;
```
Expand Down
Loading