To support PPL-based Alerting, the entire SQL plugin jar is pulled in as a dependency just to gain access to a small number of request/response classes (TransportPPLQueryRequest, TransportPPLQueryResponse, PPLQueryAction). This forces an unnecessarily tight coupling between the two plugins and requires Alerting to watch out for the version of the SQL/PPL Plugin running.
To resolve this, the SQL plugin must expose these classes in a common library that can be published to Maven, then Alerting must pull those in instead of the entire SQL plugin.
Related SQL Plugin Issue: opensearch-project/sql#5428
To support PPL-based Alerting, the entire SQL plugin jar is pulled in as a dependency just to gain access to a small number of request/response classes (
TransportPPLQueryRequest,TransportPPLQueryResponse,PPLQueryAction). This forces an unnecessarily tight coupling between the two plugins and requires Alerting to watch out for the version of the SQL/PPL Plugin running.To resolve this, the SQL plugin must expose these classes in a common library that can be published to Maven, then Alerting must pull those in instead of the entire SQL plugin.
Related SQL Plugin Issue: opensearch-project/sql#5428