Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Linting20 #33359

Merged
merged 1 commit into from
Oct 21, 2023
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
2 changes: 1 addition & 1 deletion docs/faq/loading/Broker_load_faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Timezone was set to China time when the table was created and when brokerload is

Remove the timezone when creating the table.

## In Broker Load, orc data import failed. ErrorMsg: type:ETL_RUN_FAIL; msg:Cannot cast '<slot 6>' from VARCHAR to `ARRAY<VARCHAR(30)>`
## In Broker Load, orc data import failed. `ErrorMsg: type:ETL_RUN_FAIL; msg:Cannot cast '<slot 6>' from VARCHAR to ARRAY<VARCHAR(30)>`

Column names on both sides are not consistent in the source file and the StarRocks. Type inference within the system was performed on Set and failed on Cast. To resolve this, you can change the field names on both sides to be identical. After that, Set or Cast is not needed, thus making import successful.

Expand Down
16 changes: 8 additions & 8 deletions docs/using_starrocks/External_table.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ StarRocks supports predicate pushdown. Filters can be pushed down to Elasticsear

| SQL syntax | ES syntax |
| :---: | :---: |
| = | term query |
| in | terms query |
| \>=, <=, >, < | range |
| and | bool.filter |
| or | bool.should |
| not | bool.must_not |
| not in | bool.must_not + terms |
| esquery | ES Query DSL |
| `=` | term query |
| `in` | terms query |
| `\>=, <=, >, <` | range |
| `and` | bool.filter |
| `or` | bool.should |
| `not` | bool.must_not |
| `not in` | bool.must_not + terms |
| `esquery` | ES Query DSL |

### Example

Expand Down
Loading