Skip to content

Commit

Permalink
[Doc] Linting20 (#33359)
Browse files Browse the repository at this point in the history
Signed-off-by: DanRoscigno <[email protected]>
  • Loading branch information
DanRoscigno authored Oct 21, 2023
1 parent 0217aec commit 989dc5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
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

0 comments on commit 989dc5c

Please sign in to comment.