Open damiencarol opened 10 years ago
To support this, there are three methods you need to implement in com.salesforce.phoenix.jdbc.PhoenixPreparedStatement:
This will just cause each Statement to be executed in turn. Since Phoenix is an embedded driver, there's no performance penalty for implementing in this manner, as batching is not saving any network traffic.
Interested in contributing this, @damiencarol ?
Yep! Of course !
Wait my patch. @jtaylor-sfdc
@jtaylor-sfdc here my first pull request
If you use PHOENIX with Pig.
Try to UPSERT some values from PIG script to PHOENIX with JDBC connector throw java.sql.SQLFeatureNotSupportedException.
This is because PIG use Batch statement (see class "org.apache.pig.piggybank.storage.DBStorage").
Exception :