From 989dc5c0b82b1563efbfec7e376fc6a720528402 Mon Sep 17 00:00:00 2001 From: Dan Roscigno Date: Sat, 21 Oct 2023 15:20:11 -0400 Subject: [PATCH] [Doc] Linting20 (#33359) Signed-off-by: DanRoscigno --- docs/faq/loading/Broker_load_faq.md | 2 +- docs/using_starrocks/External_table.md | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/faq/loading/Broker_load_faq.md b/docs/faq/loading/Broker_load_faq.md index a92ec2cf959c9..25c048edc9210 100644 --- a/docs/faq/loading/Broker_load_faq.md +++ b/docs/faq/loading/Broker_load_faq.md @@ -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 '' from VARCHAR to `ARRAY` +## In Broker Load, orc data import failed. `ErrorMsg: type:ETL_RUN_FAIL; msg:Cannot cast '' from VARCHAR to ARRAY` 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. diff --git a/docs/using_starrocks/External_table.md b/docs/using_starrocks/External_table.md index 00054bbdbacc5..4fa50f6619d69 100644 --- a/docs/using_starrocks/External_table.md +++ b/docs/using_starrocks/External_table.md @@ -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