You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/05/31 08:04:57 UTC

[GitHub] [shardingsphere] Zhoutzzz opened a new issue, #18095: An NPE occurs when a field is identified by a table alias

Zhoutzzz opened a new issue, #18095:
URL: https://github.com/apache/shardingsphere/issues/18095

   ## Bug Report
   The sql like this
   ```sql
   select count(1) from (        select T1.id as testId from table1 t1 left join table2 t2 on t1.id = T2.id) as a
   ```
   It is will use alias 'T1' to find table 'table1', then throw NullPointException, because the alias 'T1' and alias referencce 't1' has case different  
   
   **For English only**, other languages will not accept.
   
   Before report a bug, make sure you have:
   
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   
   Please answer these questions before submitting your issue. Thanks!
   
   ### Which version of ShardingSphere did you use?
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ### Expected behavior
   
   ### Actual behavior
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] tuichenchuxin closed issue #18095: An NPE occurs when a field is identified by a table alias

Posted by GitBox <gi...@apache.org>.
tuichenchuxin closed issue #18095: An NPE occurs when a field is identified by a table alias
URL: https://github.com/apache/shardingsphere/issues/18095


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org