Hi,

Last week distributed joins functionality was merged, but one thing was
overlooked. Distributed joins should be explicitly enabled using using
method 'setDistributedJoins' available in java API
(SqlQuery/SqlFieldsQuery). First, this parameter should be also added in
.Net/C++/REST API, this is straightforward. Also there should be
possibility to enable distributed joins for JDBC API. Does it make sense to
add Ignite-specific interface extending standard java.sql.Statement, so
'setDistributedJoins' method can be added there.
JDBC API already have 'unwrap' method to deal with vendor-specific
interfaces, code will look like this:
* IgniteStatement stmt =
connection.createStatement().unwrap(IgniteStatement.class);*
* stmt.setDistributedJoins(true);*
*        stmt.executeQuery("...");*

What do you think?

Reply via email to