[
https://issues.apache.org/jira/browse/PHOENIX-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14600187#comment-14600187
]
Nick Dimiduk commented on PHOENIX-2071:
---------------------------------------
Thanks for kicking the tires here Lukas. This would be a feature gap on the
Calcite side.
> Commit functionality not exposed by the RPC server
> --------------------------------------------------
>
> Key: PHOENIX-2071
> URL: https://issues.apache.org/jira/browse/PHOENIX-2071
> Project: Phoenix
> Issue Type: Improvement
> Reporter: Lukas Lalinsky
>
> It seems that the commit/rollback functionality is not exposed by the RPC
> server, which means that it's only usable in autocommit mode. Avatica itself
> doesn't have a concept of commit in the RPC and the remote JDBC connection
> raises an exception when calling commit() on it, but Phoenix's native JDBC
> connection does implement commit(), so the RPC needs to be extended to allow
> calling that remotely.
> The easiest way to test this, "!autocommit off" and then "!commit" fails in
> "sqline-thin.py", but works in "sqline.py".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)