opensearch-project / sql

Query your data using familiar SQL or intuitive Piped Processing Language (PPL)
https://opensearch.org/docs/latest/search-plugins/sql/index/
Apache License 2.0
120 stars 139 forks source link

String query improvement #48

Open dai-chen opened 3 years ago

dai-chen commented 3 years ago

Is your feature request related to a problem? Please describe.

Old tracking issue: https://github.com/opendistro-for-elasticsearch/sql/issues/710

  1. https://github.com/opendistro-for-elasticsearch/sql/issues/861: Locate with IF function

Describe the solution you'd like N/A

Describe alternatives you've considered N/A

Additional context Add any other context or screenshots about the feature request here.

dai-chen commented 2 years ago

SPACE function that returns a string with the specified number of spaces is missing: https://github.com/opensearch-project/sql/issues/570

dai-chen commented 2 years ago

TRIM function enhancement: https://github.com/opensearch-project/sql/issues/574

margarit-h commented 2 years ago

The following is the list of string functions specified in https://github.com/opendistro-for-elasticsearch/sql/issues/710 The checked ones are implemented in v2 engine. The unchecked ones aren't implemented. position() seems to be the only string function that is implemented in legacy engine, but not in v2.

Highest Prioritized:

Medium:

Low: