Closed zxk1111 closed 2 weeks ago
i has the same error,like select t.* from (select s.field_1,if(s.field_2 is null,1,2) as field_2 from sub s)t will display this error because of t.*,
if like select t.field_1,t.field_2 will success,
error msg: java.sql.SQLFeatureNotSupportedException: can't get index from columnLabel[field_2]
related version:
Originally posted by @zxk1111 in https://github.com/apache/shardingsphere/issues/24207#issuecomment-2185428616
The markdown format in your issue is incorrect. To facilitate reading, could you please revise it?
1
if like select t.field_1,t.field_2 will success,
error msg: java.sql.SQLFeatureNotSupportedException: can't get index from columnLabel[field_2]
related version:
Originally posted by @zxk1111 in https://github.com/apache/shardingsphere/issues/24207#issuecomment-2185428616