Open misterjpapa opened 3 months ago
@tdcmeehan - I've copied the presto-elasticsearch module and from it renamed and created a presto-elasticsearch-6 module. Is this sufficient? Was the idea to keep the original classes and package names the same aka: com.facebook.presto.elasticsearch so Presto users would only be able to load and use one Presto ES connector at a time in the JVM? Or should we have the classes in the presto-elasticsearch-6 module under a different package name too?
Moving to Elasticsearch 7.0 libraries will introduce breaking changes to the support for Elasticsearch 6.0 servers due to lack of backward compatibility. Specifically
By forking and creating a presto-elasticsearch-6 version of the Elasticsearch connector we can mitigate these breaking changes and folks can stay with the older connector if they need to stay on the older ES 6.x servers.
Expected Behavior or Use Case
Still have a path for the Presto Elasticsearch connector to work with Elasticsearch servers 6.x even after upgrading to new Elasticsearch v.7x libraries.
Presto Component, Service, or Connector
Elasticsearch Connector
Possible Implementation
Fork existing presto-elasticsearch connector and create a presto-elasticsearch-6 version in preparation for moving to Elasticsearch 7.x support which contains breaking changes that no longer support ES 6.x servers.
Example Screenshots (if appropriate):
Context
Continue to provide support for Elasticsearch 6.0 servers.