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/11/01 12:17:27 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new pull request, #21892: Optimizing query results for PSQL metadata select.

RaigorJiang opened a new pull request, #21892:
URL: https://github.com/apache/shardingsphere/pull/21892

   Fixes #21888.
   
   Because the alias of the query column is case-sensitive, it cannot be found according to the fixed `name`.
   
   Changes proposed in this pull request:
     -  Change type of `row results` and `alias` from `LinkedHashMap` to `TreeMap`
   
   ## In Native Postgres
   <img width="784" alt="image" src="https://user-images.githubusercontent.com/5668787/199230425-a78ca423-7697-44e5-8353-cd00e8c78fb6.png">
   
   ## In Proxy
   ### Before 
   ![image](https://user-images.githubusercontent.com/5668787/199230301-fd6e2ad8-8489-493a-a793-d726203e4f59.png)
   
   ### After
   <img width="716" alt="image" src="https://user-images.githubusercontent.com/5668787/199230282-817ccf8e-87e1-486f-bfc3-714220f6c8e3.png">
   
   ---
   Before committing this PR, I'm sure that I have checked the following options:
   - [ ] My code follows the [code of conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) of this project.
   - [ ] I have self-reviewed the commit code.
   - [ ] I have (or in comment I request) added corresponding labels for the pull request.
   - [ ] I have passed maven check locally : `mvn clean install -B -T2C -DskipTests -Dmaven.javadoc.skip=true -e`.
   - [ ] I have made corresponding changes to the documentation.
   - [ ] I have added corresponding unit tests for my changes.
   


-- 
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


[GitHub] [shardingsphere] RaigorJiang closed pull request #21892: Optimizing query results for PSQL metadata select.

Posted by GitBox <gi...@apache.org>.
RaigorJiang closed pull request #21892: Optimizing query results for PSQL metadata select.
URL: https://github.com/apache/shardingsphere/pull/21892


-- 
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