Skip to content

opensearch-project/sql

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c89a302 · Feb 13, 2025
Jan 9, 2025
Feb 10, 2025
Feb 10, 2025
Aug 19, 2023
Mar 7, 2023
Mar 7, 2023
Feb 7, 2025
Feb 13, 2025
Feb 7, 2025
Feb 13, 2025
Feb 13, 2025
Jul 17, 2024
Feb 13, 2025
Feb 7, 2025
Feb 13, 2025
Feb 10, 2025
Feb 13, 2025
Feb 7, 2025
Feb 7, 2025
Feb 5, 2025
Jan 5, 2024
Feb 10, 2025
Feb 7, 2025
Jun 26, 2021
Jul 31, 2024
Jan 5, 2022
Jun 26, 2021
Apr 17, 2021
Nov 4, 2021
May 11, 2020
Feb 10, 2025
Apr 17, 2021
Jan 6, 2025
Sep 30, 2022
May 14, 2024
Jun 26, 2021
May 14, 2024
Sep 19, 2019
Feb 7, 2025
Nov 12, 2021
Jul 17, 2024
Jul 17, 2024
Jan 6, 2020
Feb 10, 2025

Repository files navigation

OpenSearch SQL

OpenSearch enables you to extract insights out of OpenSearch using the familiar SQL or Piped Processing Language (PPL) query syntax. Use aggregations, group by, and where clauses to investigate your data. Read your data as JSON documents or CSV tables so you have the flexibility to use the format that works best for you.

The following projects are related to the SQL plugin, but stored in the different repos. Please refer to links below for details. This document will focus on the SQL plugin for OpenSearch.

Code Summary

SQL Engine

Test and build [![SQL CI][sql-ci-badge]][sql-ci-link]
Code coverage codecov
Distribution build tests OpenSearch IT tests OpenSearch IT code
Backward compatibility tests BWC tests

Repository Checks

DCO Checker Developer certificate of origin
Link Checker Link Checker

Issues

good first issues open
features open
enhancements open
bugs open
untriaged open
nolabel open

Highlights

Besides basic filtering and aggregation, OpenSearch SQL also supports complex queries, such as querying semi-structured data, JOINs, set operations, sub-queries etc. Beyond the standard functions, OpenSearch functions are provided for better analytics and visualization. Please check our documentation for more details.

Recently we have been actively improving our query engine primarily for better correctness and extensibility. Behind the scene, the new enhanced engine has already supported both SQL and Piped Processing Language. Please find more details in SQL Engine V2 - Release Notes.

Documentation

Please refer to the SQL Language Reference Manual, Piped Processing Language (PPL) Reference Manual, OpenSearch SQL/PPL Engine Development Manual and Technical Documentation for detailed information on installing and configuring plugin.

Forum

For additional help with the plugin, including questions about opening an issue, visit the OpenSearch Forum.

Contributing

See developer guide and how to contribute to this project.

Attribution

This project is based on the Apache 2.0-licensed elasticsearch-sql project. Thank you eliranmoyal, shi-yuan, ansjsun and everyone else who contributed great code to that project. Read this for more details Attributions.

Code of Conduct

This project has adopted an Open Source Code of Conduct.

Security

If you discover a potential security issue in this project we ask that you notify OpenSearch Security directly via email to security@opensearch.org. Please do not create a public GitHub issue.

License

See the LICENSE file for our project's licensing. We will ask you to confirm the licensing of your contribution.

Copyright

Copyright OpenSearch Contributors. See NOTICE for details.