sql
sql copied to clipboard
Query your data using familiar SQL or intuitive Piped Processing Language (PPL)
Signed-off-by: Yury-Fridlyand ### Description Last time we updated PowerBI connector, we missed to update embedded unit tests. These tests may be executed by a developer only. To run tests you...
Signed-off-by: Yury Fridlyand ### Description New functions added: * now() * current_timestamp() * localtimestamp() * localtime() * sysdate() * curtime() * current_time() * curdate() * current_date() New signatures: * `now()`...
User scenario: 1. Install Tableau 2. Install ODBC driver 3. Configure driver 4. Connect to it (without using OpenSearch connector) 5. Perform data refresh from a table  Under the...
**Is your feature request related to a problem?** A clear and concise description of what the problem is, e.g. _I'm always frustrated when [...]_ **What solution would you like?** A...
@jingyali-apr Thanks for confirming! I may have found where things go wrong: https://github.com/opensearch-project/sql/blob/907019cc8f7ce05c34ed453a75e4d897f55b57c5/sql/src/main/java/org/opensearch/sql/sql/parser/AstSortBuilder.java#L53 When we try to replace alias in `ORDER BY`, we only replace ordinal or alias directly. In...
**What is the bug?** We followed MySQL syntax and tried to escape special character like '%' and '_' with the escape char ‘\\', because MySQL uses '\\' as the escape...
Backport 4e40ed2839889be44008037154173392d0907f20 from #793
**Describe the bug** Using `IS NOT NULL` with alias throws SemanticCheckException. **To Reproduce** Sample query: ``` SELECT dest_city_name AS dc FROM all_flights WHERE dc IS NOT NULL ``` **Expected behavior**...
- Incremented version to **2.3.0-SNAPSHOT**.
**What is the bug?** It seems SQL query engine doesn't honor what's configured in OpenSearch index mapping for date field. This causes problems in different queries with datetime field involved....