From 6c91f528d4657063c5fb03865d4b0f0a6e1d3a79 Mon Sep 17 00:00:00 2001 From: currantw Date: Tue, 7 Jan 2025 14:37:27 -0800 Subject: [PATCH] Remove note completely Signed-off-by: currantw --- docs/ppl-lang/PPL-Example-Commands.md | 1 - docs/ppl-lang/ppl-parse-command.md | 2 -- 2 files changed, 3 deletions(-) diff --git a/docs/ppl-lang/PPL-Example-Commands.md b/docs/ppl-lang/PPL-Example-Commands.md index a305cea08..56b638a2d 100644 --- a/docs/ppl-lang/PPL-Example-Commands.md +++ b/docs/ppl-lang/PPL-Example-Commands.md @@ -275,7 +275,6 @@ source = table | where ispresent(a) | - `source=accounts | parse email '.+@(?.+)' | eval eval_result=1 | fields host, eval_result` - `source=accounts | parse email '.+@(?.+)' | where age > 45 | sort - age | fields age, email, host` - `source=accounts | parse address '(?\d+) (?.+)' | eval streetNumberInt = cast(streetNumber as integer) | where streetNumberInt > 500 | sort streetNumberInt | fields streetNumber, street` - - **Note**: The `sort num` syntax is not implemented. To sort numerically, cast to a numerical data type - e.g. `sort cast(streetNumber as integer)`. See [#963](https://github.com/opensearch-project/opensearch-spark/issues/963) for more details. - Limitation: [see limitations](ppl-parse-command.md#limitations) #### **Grok** diff --git a/docs/ppl-lang/ppl-parse-command.md b/docs/ppl-lang/ppl-parse-command.md index 27006d6b1..dbf92ad62 100644 --- a/docs/ppl-lang/ppl-parse-command.md +++ b/docs/ppl-lang/ppl-parse-command.md @@ -68,8 +68,6 @@ PPL query: | 880 | Holmes Lane | +----------------+----------------+ -**Note**: The `sort num` syntax is not implemented. To sort numerically, cast to a numerical data type - e.g. `sort cast(streetNumber as integer)`. See [#963](https://github.com/opensearch-project/opensearch-spark/issues/963) for more details. - ### Limitations There are a few limitations with parse command: