File tree Expand file tree Collapse file tree
integ-test/src/test/java/org/opensearch/sql/calcite/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ The expand command generates one row per element in the specified array field:
2929Syntax
3030======
3131
32- expand <field> [AS alias]
32+ expand <field> [as alias]
3333
3434* field: The field to be expanded (exploded). Currently only nested arrays are supported.
3535* alias: (Optional) The name to use instead of the original field name.
@@ -38,7 +38,7 @@ expand <field> [AS alias]
3838Example: expand address field with an alias
3939===========================================
4040
41- Given a dataset ``mirgration `` with the following data:
41+ Given a dataset ``migration `` with the following data:
4242
4343.. code-block ::
4444
@@ -49,7 +49,7 @@ The following query expand the address field and rename it to addr:
4949
5050PPL query::
5151
52- PPL> source=mirgration | expand address as addr;
52+ PPL> source=migration | expand address as addr;
5353 fetched rows / total rows = 3/3
5454 +-------+-----+-------------------------------------------------------------------------------------------+
5555 | name | age | addr |
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ public void testExpandOnNested() throws Exception {
143143
144144 // To consider in future releases: will expand on array (instead of nested) be supported.
145145 // In Opensearch, a string field can store either a single string or an array of strings.
146- // This makes it difficult to implement expand on arries .
146+ // This makes it difficult to implement expand on arrays .
147147 @ Ignore
148148 @ Test
149149 public void testExpandOnArray () throws Exception {
You can’t perform that action at this time.
0 commit comments