tristaZero commented on a change in pull request #11742:
URL: https://github.com/apache/shardingsphere/pull/11742#discussion_r686724584
##########
File path:
shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/text/distsql/ral/RALBackendHandlerFactory.java
##########
@@ -39,14 +43,18 @@
* @param sqlStatement RAL statement
* @param backendConnection backend connection
* @return RAL backend handler
+ * @throws SQLException SQL exception
*/
- public static TextProtocolBackendHandler newInstance(final RALStatement
sqlStatement, final BackendConnection backendConnection) {
+ public static TextProtocolBackendHandler newInstance(final RALStatement
sqlStatement, final BackendConnection backendConnection) throws SQLException {
if (sqlStatement instanceof QueryableRALStatement) {
return
QueryableRALBackendHandlerFactory.newInstance((QueryableRALStatement)
sqlStatement, backendConnection);
}
if (sqlStatement instanceof UpdatableRALStatement) {
return
UpdatableRALBackendHandlerFactory.newInstance((UpdatableRALStatement)
sqlStatement);
}
+ if (sqlStatement instanceof SCTLStatement) {
Review comment:
`QueryableRALStatement`, `UpdatableRALStatement`, and `SCTLStatement`
are in parallel level?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]