Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion explore-analyze/query-filter/languages/sql-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ If security is enabled on your cluster, you can pass the username and password i
$ ./bin/elasticsearch-sql-cli https://sql_user:[email protected]:9200
```

Once the CLI is running you can use any [query](sql-spec.md) that Elasticsearch supports:
Once the CLI is running you can use any [query](elasticsearch://reference/query-languages/sql/sql-spec.md) that Elasticsearch supports:

```sql
sql> SELECT * FROM library WHERE page_count > 500 ORDER BY page_count DESC;
Expand Down
32 changes: 0 additions & 32 deletions explore-analyze/query-filter/languages/sql-commands.md

This file was deleted.

2 changes: 1 addition & 1 deletion explore-analyze/query-filter/languages/sql-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ So let’s start from the bottom; these roughly are:

| SQL | {{es}} | Description |
| --- | --- | --- |
| `column` | `field` | In both cases, at the lowest level, data is stored in *named* entries, of a variety of [data types](sql-data-types.md), containing *one* value. SQL calls such an entry a *column* while {{es}} a *field*.Notice that in {{es}} a field can contain *multiple* values of the same type (essentially a list) while in SQL, a *column* can contain *exactly* one value of said type.Elasticsearch SQL will do its best to preserve the SQL semantic and, depending on the query, reject those that return fields with more than one value. |
| `column` | `field` | In both cases, at the lowest level, data is stored in *named* entries, of a variety of [data types](elasticsearch://reference/query-languages/sql/sql-data-types.md), containing *one* value. SQL calls such an entry a *column* while {{es}} a *field*. Notice that in {{es}} a field can contain *multiple* values of the same type (essentially a list) while in SQL, a *column* can contain *exactly* one value of said type. Elasticsearch SQL will do its best to preserve the SQL semantic and, depending on the query, reject those that return fields with more than one value. |
| `row` | `document` | `Column`s and `field`s do *not* exist by themselves; they are part of a `row` or a `document`. The two have slightly different semantics: a `row` tends to be *strict* (and have more enforcements) while a `document` tends to be a bit more flexible or loose (while still having a structure). |
| `table` | `index` | The target against which queries, whether in SQL or {{es}} get executed against. |
| `schema` | *implicit* | In RDBMS, `schema` is mainly a namespace of tables and typically used as a security boundary. {{es}} does not provide an equivalent concept for it. However when security is enabled, {{es}} automatically applies the security enforcement so that a role sees only the data it is allowed to (in SQL jargon, its *schema*). |
Expand Down
108 changes: 0 additions & 108 deletions explore-analyze/query-filter/languages/sql-data-types.md

This file was deleted.

Loading