whg903 commented on issue #6839: URL: https://github.com/apache/shardingsphere/issues/6839#issuecomment-674055887
@Lucas-307 I'm sure the table t_order has been created. I test with sql [select * from t_order where 1 != 1] got ok, but with [select * from "t_order" where 1 != 1] got fail. So, it may be fault of ColumnMetaDataLoader.generateEmpytResultSQL, it add synatx ["] around table name. In h2 mysql mode, should use [`] but not ["]. Should pass databaseType.getTrunkDatabaseType() to method generateEmptyResultSQL? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
