terrymanu commented on issue #28841: URL: https://github.com/apache/shardingsphere/issues/28841#issuecomment-3559126252
Thanks for the extra details. The root cause is that in containsDerivedProjections we build the column map from expanded projections and miss the bare column labels from table.*; HintManager triggers derived projections, so it hits this branch. Your idea makes sense: when the expanded map’s size or labels don’t match ResultSetMetaData, we should fall back to ResultSetMetaData or at least fill in the missing columns. To scope the fix, could you share the exact HintManager usage/hint statement you’re using? As a temporary workaround, please replace b.* with explicit columns. -- 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]
