zhaojinchao95 commented on code in PR #26419:
URL: https://github.com/apache/shardingsphere/pull/26419#discussion_r1233320432
##########
kernel/sql-federation/core/src/main/java/org/apache/shardingsphere/sqlfederation/engine/SQLFederationEngine.java:
##########
@@ -191,6 +191,9 @@ private ExecutionPlanCacheKey buildCacheKey(final
SQLFederationExecutorContext f
private void registerTableScanExecutor(final Schema sqlFederationSchema,
final DriverExecutionPrepareEngine<JDBCExecutionUnit, Connection> prepareEngine,
final JDBCExecutorCallback<?
extends ExecuteResult> callback, final SQLFederationExecutorContext
federationContext,
final OptimizerContext
optimizerContext) {
+ if (sqlFederationSchema == null) {
Review Comment:
Please change to `null == sqlFederationSchema`
--
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]