diff --git a/docs/user/general/datatypes.rst b/docs/user/general/datatypes.rst index 63b57f87e8..5899488ab0 100644 --- a/docs/user/general/datatypes.rst +++ b/docs/user/general/datatypes.rst @@ -34,7 +34,7 @@ The OpenSearch SQL Engine support the following data types. +---------------------+ | double | +---------------------+ -| string | +| keyword | +---------------------+ | text | +---------------------+ @@ -87,7 +87,7 @@ The table below list the mapping between OpenSearch Data Type, OpenSearch SQL Da +-----------------+---------------------+-----------+ | double | double | DOUBLE | +-----------------+---------------------+-----------+ -| keyword | string | VARCHAR | +| keyword | keyword | VARCHAR | +-----------------+---------------------+-----------+ | text | text | VARCHAR | +-----------------+---------------------+-----------+ diff --git a/docs/user/ppl/general/datatypes.rst b/docs/user/ppl/general/datatypes.rst index c7478ae62d..cabc689526 100644 --- a/docs/user/ppl/general/datatypes.rst +++ b/docs/user/ppl/general/datatypes.rst @@ -37,8 +37,6 @@ The PPL support the following data types. +---------------+ | string | +---------------+ -| text | -+---------------+ | timestamp | +---------------+ | datetime | @@ -88,7 +86,7 @@ The table below list the mapping between OpenSearch Data Type, PPL Data Type and +-----------------+---------------+-----------+ | keyword | string | VARCHAR | +-----------------+---------------+-----------+ -| text | text | VARCHAR | +| text | string | VARCHAR | +-----------------+---------------+-----------+ | date | timestamp | TIMESTAMP | +-----------------+---------------+-----------+