forked from opensearch-project/sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update usage example doc for PPL cross-cluster search (opensearch-pro…
…ject#1610) Signed-off-by: Sean Kao <[email protected]> Signed-off-by: Mitchell Gale <[email protected]>
- Loading branch information
1 parent
7eb6676
commit b432756
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,9 +36,18 @@ Using Cross-Cluster Search in PPL | |
================================= | ||
Perform cross-cluster search by using "<cluster-name>:<index-name>" as the index identifier. | ||
|
||
Example search command :: | ||
|
||
>> search source = my_remote_cluster:my_index | ||
Example PPL query:: | ||
|
||
os> source=my_remote_cluster:accounts; | ||
fetched rows / total rows = 4/4 | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
| account_number | firstname | address | balance | gender | city | employer | state | age | email | lastname | | ||
|------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------| | ||
| 1 | Amber | 880 Holmes Lane | 39225 | M | Brogan | Pyrami | IL | 32 | [email protected] | Duke | | ||
| 6 | Hattie | 671 Bristol Street | 5686 | M | Dante | Netagy | TN | 36 | [email protected] | Bond | | ||
| 13 | Nanette | 789 Madison Street | 32838 | F | Nogal | Quility | VA | 28 | null | Bates | | ||
| 18 | Dale | 467 Hutchinson Court | 4180 | M | Orick | null | MD | 33 | [email protected] | Adams | | ||
+------------------+-------------+----------------------+-----------+----------+--------+------------+---------+-------+-----------------------+------------+ | ||
|
||
|
||
Limitation | ||
|