Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test cases for SelectStatementContext.findColumnProjection() #28843

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Zhenye-Na
Copy link
Contributor

@Zhenye-Na Zhenye-Na commented Oct 23, 2023

Notes

This PR fixes #26467

Changes proposed in this pull request:

  • Add test cases for SelectStatementContext.findColumnProjection()

Testing

./mvnw clean install -B -T1C -Pcheck

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache ShardingSphere 5.4.2-SNAPSHOT:
[INFO] 
[INFO] Apache ShardingSphere .............................. SUCCESS [  2.654 s]
[INFO] shardingsphere-infra ............................... SUCCESS [  0.352 s]
[INFO] shardingsphere-infra-exception ..................... SUCCESS [  0.191 s]
[INFO] shardingsphere-infra-exception-core ................ SUCCESS [  3.026 s]
[INFO] shardingsphere-test ................................ SUCCESS [  0.618 s]
[INFO] shardingsphere-test-util ........................... SUCCESS [  5.135 s]
[INFO] shardingsphere-infra-spi ........................... SUCCESS [  2.455 s]
[INFO] shardingsphere-infra-util .......................... SUCCESS [  3.058 s]
[INFO] shardingsphere-infra-database ...................... SUCCESS [  0.204 s]
[INFO] shardingsphere-infra-database-core ................. SUCCESS [  3.298 s]
[INFO] shardingsphere-infra-database-type ................. SUCCESS [  0.135 s]
[INFO] shardingsphere-infra-database-mysql ................ SUCCESS [  2.201 s]
[INFO] shardingsphere-infra-database-mariadb .............. SUCCESS [  1.294 s]
[INFO] shardingsphere-infra-database-postgresql ........... SUCCESS [  2.432 s]
[INFO] shardingsphere-infra-database-opengauss ............ SUCCESS [  2.370 s]
[INFO] shardingsphere-infra-database-oracle ............... SUCCESS [  1.994 s]
[INFO] shardingsphere-infra-database-sqlserver ............ SUCCESS [  1.807 s]
[INFO] shardingsphere-infra-database-h2 ................... SUCCESS [  1.951 s]
[INFO] shardingsphere-infra-database-sql92 ................ SUCCESS [  1.780 s]
[INFO] shardingsphere-test-fixture ........................ SUCCESS [  0.323 s]
[INFO] shardingsphere-test-fixture-database ............... SUCCESS [  1.208 s]
[INFO] shardingsphere-infra-data-source-pool .............. SUCCESS [  0.172 s]
[INFO] shardingsphere-infra-data-source-pool-core ......... SUCCESS [  2.782 s]
[INFO] shardingsphere-infra-data-source-pool-type ......... SUCCESS [  0.187 s]
[INFO] shardingsphere-infra-data-source-pool-hikari ....... SUCCESS [  1.901 s]
[INFO] shardingsphere-parser .............................. SUCCESS [  0.395 s]
[INFO] shardingsphere-parser-sql .......................... SUCCESS [  0.152 s]
[INFO] shardingsphere-parser-sql-spi ...................... SUCCESS [  1.178 s]
[INFO] shardingsphere-parser-sql-statement ................ SUCCESS [ 10.530 s]
[INFO] shardingsphere-parser-sql-engine ................... SUCCESS [  1.438 s]
[INFO] shardingsphere-infra-common ........................ SUCCESS [  8.725 s]
[INFO] shardingsphere-infra-exception-dialect ............. SUCCESS [  0.081 s]
[INFO] shardingsphere-infra-exception-dialect-core ........ SUCCESS [  2.511 s]
[INFO] shardingsphere-infra-exception-dialect-type ........ SUCCESS [  0.163 s]
[INFO] shardingsphere-mysql-dialect-exception ............. SUCCESS [  1.972 s]
[INFO] shardingsphere-postgresql-dialect-exception ........ SUCCESS [  2.259 s]
[INFO] shardingsphere-parser-distsql ...................... SUCCESS [  0.165 s]
[INFO] shardingsphere-parser-distsql-statement ............ SUCCESS [  3.166 s]
[INFO] shardingsphere-parser-distsql-engine ............... SUCCESS [  6.201 s]
[INFO] shardingsphere-infra-parser ........................ SUCCESS [  2.232 s]
[INFO] shardingsphere-infra-binder ........................ SUCCESS [  7.828 s]
[INFO] shardingsphere-infra-session ....................... SUCCESS [  1.875 s]
[INFO] shardingsphere-infra-route ......................... SUCCESS [  2.520 s]
[INFO] shardingsphere-kernel .............................. SUCCESS [  0.304 s]
[INFO] shardingsphere-sql-translator ...................... SUCCESS [  0.163 s]
[INFO] shardingsphere-sql-translator-api .................. SUCCESS [  1.492 s]
[INFO] shardingsphere-mode ................................ SUCCESS [  0.389 s]
[INFO] shardingsphere-mode-api ............................ SUCCESS [  2.234 s]
[INFO] shardingsphere-sql-translator-core ................. SUCCESS [  2.462 s]
[INFO] shardingsphere-sql-translator-provider ............. SUCCESS [  0.138 s]
[INFO] shardingsphere-sql-translator-native-provider ...... SUCCESS [  1.008 s]
[INFO] shardingsphere-infra-rewrite ....................... SUCCESS [  3.248 s]
[INFO] shardingsphere-infra-executor ...................... SUCCESS [  6.606 s]
[INFO] shardingsphere-authority ........................... SUCCESS [  0.173 s]
[INFO] shardingsphere-authority-api ....................... SUCCESS [  1.306 s]
[INFO] shardingsphere-authority-core ...................... SUCCESS [  3.627 s]
[INFO] shardingsphere-single .............................. SUCCESS [  0.168 s]
[INFO] shardingsphere-single-api .......................... SUCCESS [  1.099 s]
[INFO] shardingsphere-transaction ......................... SUCCESS [  0.283 s]
[INFO] shardingsphere-transaction-api ..................... SUCCESS [  1.325 s]
[INFO] shardingsphere-transaction-core .................... SUCCESS [  5.419 s]
[INFO] shardingsphere-infra-context ....................... SUCCESS [  4.463 s]
[INFO] shardingsphere-test-fixture-infra .................. SUCCESS [  0.919 s]
[INFO] shardingsphere-infra-merge ......................... SUCCESS [  3.696 s]
[INFO] shardingsphere-infra-distsql-handler ............... SUCCESS [  2.519 s]
[INFO] shardingsphere-infra-expr .......................... SUCCESS [  0.155 s]
[INFO] shardingsphere-infra-expr-spi ...................... SUCCESS [  1.058 s]
[INFO] shardingsphere-infra-expr-type ..................... SUCCESS [  0.171 s]
[INFO] shardingsphere-infra-expr-groovy ................... SUCCESS [  2.048 s]
[INFO] shardingsphere-infra-expr-literal .................. SUCCESS [  1.980 s]
[INFO] shardingsphere-infra-expr-core ..................... SUCCESS [  1.729 s]
[INFO] shardingsphere-infra-expr-espresso ................. SUCCESS [  3.166 s]
[INFO] shardingsphere-data-pipeline ....................... SUCCESS [  0.272 s]
[INFO] shardingsphere-data-pipeline-distsql ............... SUCCESS [  0.162 s]
[INFO] shardingsphere-data-pipeline-distsql-statement ..... SUCCESS [  1.648 s]
[INFO] shardingsphere-data-pipeline-distsql-parser ........ SUCCESS [  2.288 s]
[INFO] shardingsphere-features ............................ SUCCESS [  0.291 s]
[INFO] shardingsphere-sharding ............................ SUCCESS [  0.128 s]
[INFO] shardingsphere-sharding-distsql .................... SUCCESS [  0.058 s]
[INFO] shardingsphere-sharding-distsql-statement .......... SUCCESS [  1.991 s]
[INFO] shardingsphere-sharding-distsql-parser ............. SUCCESS [  3.692 s]
[INFO] shardingsphere-broadcast ........................... SUCCESS [  0.180 s]
[INFO] shardingsphere-broadcast-distsql ................... SUCCESS [  0.116 s]
[INFO] shardingsphere-broadcast-distsql-statement ......... SUCCESS [  0.974 s]
[INFO] shardingsphere-broadcast-distsql-parser ............ SUCCESS [  2.071 s]
[INFO] shardingsphere-readwrite-splitting ................. SUCCESS [  0.174 s]
[INFO] shardingsphere-readwrite-splitting-distsql ......... SUCCESS [  0.154 s]
[INFO] shardingsphere-readwrite-splitting-distsql-statement SUCCESS [  1.269 s]
[INFO] shardingsphere-readwrite-splitting-distsql-parser .. SUCCESS [  2.117 s]
[INFO] shardingsphere-encrypt ............................. SUCCESS [  0.178 s]
[INFO] shardingsphere-encrypt-distsql ..................... SUCCESS [  0.115 s]
[INFO] shardingsphere-encrypt-distsql-statement ........... SUCCESS [  1.187 s]
[INFO] shardingsphere-encrypt-distsql-parser .............. SUCCESS [  1.861 s]
[INFO] shardingsphere-mask ................................ SUCCESS [  0.205 s]
[INFO] shardingsphere-mask-distsql ........................ SUCCESS [  0.128 s]
[INFO] shardingsphere-mask-distsql-statement .............. SUCCESS [  1.199 s]
[INFO] shardingsphere-mask-distsql-parser ................. SUCCESS [  2.442 s]
[INFO] shardingsphere-authority-distsql ................... SUCCESS [  0.093 s]
[INFO] shardingsphere-authority-distsql-statement ......... SUCCESS [  1.500 s]
[INFO] shardingsphere-authority-distsql-parser ............ SUCCESS [  1.940 s]
[INFO] shardingsphere-global-clock ........................ SUCCESS [  0.197 s]
[INFO] shardingsphere-global-clock-api .................... SUCCESS [  1.161 s]
[INFO] shardingsphere-global-clock-distsql ................ SUCCESS [  0.185 s]
[INFO] shardingsphere-global-clock-distsql-statement ...... SUCCESS [  1.483 s]
[INFO] shardingsphere-global-clock-distsql-parser ......... SUCCESS [  1.811 s]
[INFO] shardingsphere-traffic ............................. SUCCESS [  0.168 s]
[INFO] shardingsphere-traffic-distsql ..................... SUCCESS [  0.113 s]
[INFO] shardingsphere-traffic-distsql-statement ........... SUCCESS [  1.092 s]
[INFO] shardingsphere-traffic-distsql-parser .............. SUCCESS [  1.628 s]
[INFO] shardingsphere-transaction-distsql ................. SUCCESS [  0.135 s]
[INFO] shardingsphere-transaction-distsql-statement ....... SUCCESS [  1.359 s]
[INFO] shardingsphere-transaction-distsql-parser .......... SUCCESS [  1.761 s]
[INFO] shardingsphere-single-distsql ...................... SUCCESS [  0.120 s]
[INFO] shardingsphere-single-distsql-statement ............ SUCCESS [  1.383 s]
[INFO] shardingsphere-single-distsql-parser ............... SUCCESS [  1.863 s]
[INFO] shardingsphere-sql-parser .......................... SUCCESS [  0.099 s]
[INFO] shardingsphere-sql-parser-distsql .................. SUCCESS [  0.110 s]
[INFO] shardingsphere-sql-parser-distsql-statement ........ SUCCESS [  1.141 s]
[INFO] shardingsphere-sql-parser-distsql-parser ........... SUCCESS [  1.609 s]
[INFO] shardingsphere-sql-translator-distsql .............. SUCCESS [  0.168 s]
[INFO] shardingsphere-sql-translator-distsql-statement .... SUCCESS [  0.939 s]
[INFO] shardingsphere-sql-translator-distsql-parser ....... SUCCESS [  1.551 s]
[INFO] shardingsphere-shadow .............................. SUCCESS [  0.109 s]
[INFO] shardingsphere-shadow-distsql ...................... SUCCESS [  0.122 s]
[INFO] shardingsphere-shadow-distsql-statement ............ SUCCESS [  1.416 s]
[INFO] shardingsphere-shadow-distsql-parser ............... SUCCESS [  2.379 s]
[INFO] shardingsphere-it .................................. SUCCESS [  0.543 s]
[INFO] shardingsphere-it-parser ........................... SUCCESS [ 16.965 s]
[INFO] shardingsphere-parser-sql-dialect .................. SUCCESS [  0.900 s]
[INFO] shardingsphere-parser-sql-sql92 .................... SUCCESS [  5.676 s]
[INFO] shardingsphere-parser-sql-postgresql ............... SUCCESS [ 23.293 s]
[INFO] shardingsphere-parser-sql-mysql .................... SUCCESS [ 24.415 s]
[INFO] shardingsphere-parser-sql-oracle ................... SUCCESS [01:56 min]
[INFO] shardingsphere-parser-sql-sqlserver ................ SUCCESS [ 13.933 s]
[INFO] shardingsphere-parser-sql-opengauss ................ SUCCESS [ 29.117 s]
[INFO] shardingsphere-db-protocol ......................... SUCCESS [  0.291 s]
[INFO] shardingsphere-db-protocol-core .................... SUCCESS [  2.730 s]
[INFO] shardingsphere-postgresql-protocol ................. SUCCESS [  4.466 s]
[INFO] shardingsphere-mysql-protocol ...................... SUCCESS [  6.301 s]
[INFO] shardingsphere-opengauss-protocol .................. SUCCESS [  2.339 s]
[INFO] shardingsphere-metadata ............................ SUCCESS [  0.190 s]
[INFO] shardingsphere-metadata-core ....................... SUCCESS [  5.781 s]
[INFO] shardingsphere-mode-core ........................... SUCCESS [  4.264 s]
[INFO] shardingsphere-mode-type ........................... SUCCESS [  0.130 s]
[INFO] shardingsphere-standalone-mode ..................... SUCCESS [  0.116 s]
[INFO] shardingsphere-standalone-mode-repository .......... SUCCESS [  0.229 s]
[INFO] shardingsphere-standalone-mode-repository-api ...... SUCCESS [  1.380 s]
[INFO] shardingsphere-standalone-mode-core ................ SUCCESS [  2.208 s]
[INFO] shardingsphere-standalone-mode-repository-provider . SUCCESS [  0.098 s]
[INFO] shardingsphere-standalone-mode-repository-jdbc ..... SUCCESS [  2.957 s]
[INFO] shardingsphere-cluster-mode ........................ SUCCESS [  0.135 s]
[INFO] shardingsphere-cluster-mode-repository ............. SUCCESS [  0.124 s]
[INFO] shardingsphere-cluster-mode-repository-api ......... SUCCESS [  2.057 s]
[INFO] shardingsphere-sql-federation ...................... SUCCESS [  0.246 s]
[INFO] shardingsphere-sql-federation-api .................. SUCCESS [  2.591 s]
[INFO] shardingsphere-single-core ......................... SUCCESS [  3.918 s]
[INFO] shardingsphere-cluster-mode-core ................... SUCCESS [  4.237 s]
[INFO] shardingsphere-cluster-mode-repository-provider .... SUCCESS [  0.133 s]
[INFO] shardingsphere-cluster-mode-repository-zookeeper ... SUCCESS [  3.245 s]
[INFO] shardingsphere-cluster-mode-repository-etcd ........ SUCCESS [  2.514 s]
[INFO] shardingsphere-cluster-mode-repository-consul ...... SUCCESS [  3.123 s]
[INFO] shardingsphere-single-distsql-handler .............. SUCCESS [  2.390 s]
[INFO] shardingsphere-authority-distsql-handler ........... SUCCESS [  2.154 s]
[INFO] shardingsphere-transaction-type .................... SUCCESS [  0.090 s]
[INFO] shardingsphere-transaction-xa ...................... SUCCESS [  0.103 s]
[INFO] shardingsphere-transaction-xa-spi .................. SUCCESS [  3.564 s]
[INFO] shardingsphere-transaction-xa-provider ............. SUCCESS [  0.122 s]
[INFO] shardingsphere-transaction-xa-atomikos ............. SUCCESS [  3.308 s]
[INFO] shardingsphere-transaction-xa-core ................. SUCCESS [  3.330 s]
[INFO] shardingsphere-transaction-xa-narayana ............. SUCCESS [  4.392 s]
[INFO] shardingsphere-transaction-base .................... SUCCESS [  0.126 s]
[INFO] shardingsphere-transaction-base-seata-at ........... SUCCESS [  6.284 s]
[INFO] shardingsphere-transaction-distsql-handler ......... SUCCESS [  1.912 s]
[INFO] shardingsphere-time-service ........................ SUCCESS [  0.139 s]
[INFO] shardingsphere-time-service-api .................... SUCCESS [  1.548 s]
[INFO] shardingsphere-time-service-core ................... SUCCESS [  1.565 s]
[INFO] shardingsphere-time-service-type ................... SUCCESS [  0.132 s]
[INFO] shardingsphere-system-time-service ................. SUCCESS [  1.979 s]
[INFO] shardingsphere-database-time-service ............... SUCCESS [  1.711 s]
[INFO] shardingsphere-data-pipeline-api ................... SUCCESS [  3.405 s]
[INFO] shardingsphere-sql-parser-api ...................... SUCCESS [  1.901 s]
[INFO] shardingsphere-sql-parser-core ..................... SUCCESS [  2.439 s]
[INFO] shardingsphere-sharding-api ........................ SUCCESS [  1.376 s]
[INFO] shardingsphere-sql-federation-optimizer ............ SUCCESS [  7.653 s]
[INFO] shardingsphere-sql-federation-executor ............. SUCCESS [  2.903 s]
[INFO] shardingsphere-sql-federation-core ................. SUCCESS [  3.364 s]
[INFO] shardingsphere-it-yaml ............................. SUCCESS [  1.602 s]
[INFO] shardingsphere-sharding-core ....................... SUCCESS [ 13.330 s]
[INFO] shardingsphere-data-pipeline-core .................. SUCCESS [  7.875 s]
[INFO] shardingsphere-global-clock-core ................... SUCCESS [  3.200 s]
[INFO] shardingsphere-global-clock-type ................... SUCCESS [  0.121 s]
[INFO] shardingsphere-global-clock-tso .................... SUCCESS [  0.122 s]
[INFO] shardingsphere-global-clock-tso-spi ................ SUCCESS [  1.346 s]
[INFO] shardingsphere-global-clock-tso-provider ........... SUCCESS [  0.117 s]
[INFO] shardingsphere-global-clock-tso-provider-redis ..... SUCCESS [  1.599 s]
[INFO] shardingsphere-global-clock-tso-core ............... SUCCESS [  1.798 s]
[INFO] shardingsphere-traffic-api ......................... SUCCESS [  1.180 s]
[INFO] shardingsphere-traffic-core ........................ SUCCESS [  2.766 s]
[INFO] shardingsphere-broadcast-api ....................... SUCCESS [  1.279 s]
[INFO] shardingsphere-broadcast-core ...................... SUCCESS [  2.459 s]
[INFO] shardingsphere-readwrite-splitting-api ............. SUCCESS [  1.054 s]
[INFO] shardingsphere-readwrite-splitting-core ............ SUCCESS [  3.209 s]
[INFO] shardingsphere-encrypt-api ......................... SUCCESS [  1.318 s]
[INFO] shardingsphere-encrypt-core ........................ SUCCESS [  6.696 s]
[INFO] shardingsphere-mask-api ............................ SUCCESS [  0.953 s]
[INFO] shardingsphere-mask-core ........................... SUCCESS [  3.264 s]
[INFO] shardingsphere-shadow-api .......................... SUCCESS [  1.467 s]
[INFO] shardingsphere-shadow-core ......................... SUCCESS [  3.144 s]
[INFO] shardingsphere-logging ............................. SUCCESS [  0.138 s]
[INFO] shardingsphere-logging-api ......................... SUCCESS [  1.325 s]
[INFO] shardingsphere-logging-core ........................ SUCCESS [  2.618 s]
[INFO] shardingsphere-jdbc ................................ SUCCESS [  0.249 s]
[INFO] shardingsphere-jdbc-core ........................... SUCCESS [  7.964 s]
[INFO] shardingsphere-data-pipeline-dialect ............... SUCCESS [  0.188 s]
[INFO] shardingsphere-data-pipeline-mysql ................. SUCCESS [  4.866 s]
[INFO] shardingsphere-data-pipeline-postgresql ............ SUCCESS [  5.206 s]
[INFO] shardingsphere-data-pipeline-opengauss ............. SUCCESS [  4.972 s]
[INFO] shardingsphere-data-pipeline-h2 .................... SUCCESS [  2.523 s]
[INFO] shardingsphere-data-pipeline-scenario .............. SUCCESS [  0.151 s]
[INFO] shardingsphere-data-pipeline-scenario-consistencycheck SUCCESS [  4.036 s]
[INFO] shardingsphere-data-pipeline-scenario-migration .... SUCCESS [  4.409 s]
[INFO] shardingsphere-data-pipeline-cdc ................... SUCCESS [  0.119 s]
[INFO] shardingsphere-data-pipeline-cdc-protocol .......... SUCCESS [  6.734 s]
[INFO] shardingsphere-data-pipeline-cdc-core .............. SUCCESS [  4.254 s]
[INFO] shardingsphere-data-pipeline-distsql-handler ....... SUCCESS [  4.592 s]
[INFO] shardingsphere-data-pipeline-cdc-client ............ SUCCESS [  2.574 s]
[INFO] shardingsphere-sql-federation-distsql .............. SUCCESS [  0.135 s]
[INFO] shardingsphere-sql-federation-distsql-statement .... SUCCESS [  1.521 s]
[INFO] shardingsphere-sql-federation-distsql-parser ....... SUCCESS [  1.906 s]
[INFO] shardingsphere-sql-federation-distsql-handler ...... SUCCESS [  2.881 s]
[INFO] shardingsphere-sql-parser-distsql-handler .......... SUCCESS [  2.275 s]
[INFO] shardingsphere-sql-translator-jooq-provider ........ SUCCESS [  1.304 s]
[INFO] shardingsphere-sql-translator-distsql-handler ...... SUCCESS [  1.594 s]
[INFO] shardingsphere-traffic-distsql-handler ............. SUCCESS [  2.595 s]
[INFO] shardingsphere-global-clock-hlc .................... SUCCESS [  1.821 s]
[INFO] shardingsphere-global-clock-distsql-handler ........ SUCCESS [  1.868 s]
[INFO] shardingsphere-sharding-distsql-handler ............ SUCCESS [  5.333 s]
[INFO] shardingsphere-broadcast-distsql-handler ........... SUCCESS [  2.910 s]
[INFO] shardingsphere-readwrite-splitting-distsql-handler . SUCCESS [  2.949 s]
[INFO] shardingsphere-encrypt-distsql-handler ............. SUCCESS [  2.750 s]
[INFO] shardingsphere-shadow-distsql-handler .............. SUCCESS [  3.258 s]
[INFO] shardingsphere-mask-distsql-handler ................ SUCCESS [  2.757 s]
[INFO] shardingsphere-proxy ............................... SUCCESS [  0.209 s]
[INFO] shardingsphere-proxy-backend ....................... SUCCESS [  0.131 s]
[INFO] shardingsphere-proxy-backend-core .................. SUCCESS [ 10.485 s]
[INFO] shardingsphere-proxy-frontend ...................... SUCCESS [  0.126 s]
[INFO] shardingsphere-proxy-frontend-spi .................. SUCCESS [  4.117 s]
[INFO] shardingsphere-proxy-backend-type .................. SUCCESS [  0.142 s]
[INFO] shardingsphere-proxy-backend-mysql ................. SUCCESS [  7.801 s]
[INFO] shardingsphere-proxy-backend-postgresql ............ SUCCESS [  6.795 s]
[INFO] shardingsphere-proxy-backend-opengauss ............. SUCCESS [  6.621 s]
[INFO] shardingsphere-proxy-frontend-core ................. SUCCESS [  4.608 s]
[INFO] shardingsphere-proxy-frontend-type ................. SUCCESS [  0.142 s]
[INFO] shardingsphere-proxy-frontend-mysql ................ SUCCESS [  8.672 s]
[INFO] shardingsphere-proxy-frontend-postgresql ........... SUCCESS [  9.203 s]
[INFO] shardingsphere-proxy-frontend-opengauss ............ SUCCESS [  7.022 s]
[INFO] shardingsphere-proxy-backend-hbase ................. SUCCESS [  8.821 s]
[INFO] shardingsphere-proxy-bootstrap ..................... SUCCESS [  7.483 s]
[INFO] shardingsphere-agent ............................... SUCCESS [  0.216 s]
[INFO] shardingsphere-agent-api ........................... SUCCESS [  0.742 s]
[INFO] shardingsphere-agent-core .......................... SUCCESS [ 10.379 s]
[INFO] shardingsphere-agent-plugins ....................... SUCCESS [  0.074 s]
[INFO] shardingsphere-agent-plugin-core ................... SUCCESS [  3.191 s]
[INFO] shardingsphere-agent-plugin-metrics ................ SUCCESS [  0.112 s]
[INFO] shardingsphere-agent-metrics-core .................. SUCCESS [  5.785 s]
[INFO] shardingsphere-agent-metrics-type .................. SUCCESS [  0.129 s]
[INFO] shardingsphere-agent-metrics-prometheus ............ SUCCESS [  5.346 s]
[INFO] shardingsphere-agent-plugin-tracing ................ SUCCESS [  0.099 s]
[INFO] shardingsphere-agent-tracing-core .................. SUCCESS [  2.704 s]
[INFO] shardingsphere-agent-tracing-type .................. SUCCESS [  1.650 s]
[INFO] shardingsphere-agent-tracing-opentelemetry ......... SUCCESS [  9.964 s]
[INFO] shardingsphere-agent-plugin-logging ................ SUCCESS [  0.116 s]
[INFO] shardingsphere-agent-logging-type .................. SUCCESS [  0.091 s]
[INFO] shardingsphere-agent-logging-file .................. SUCCESS [  1.632 s]
[INFO] shardingsphere-it-optimizer ........................ SUCCESS [  2.881 s]
[INFO] shardingsphere-it-rewriter ......................... SUCCESS [  2.618 s]
[INFO] shardingsphere-it-pipeline ......................... SUCCESS [  5.437 s]
[INFO] shardingsphere-test-e2e ............................ SUCCESS [  0.168 s]
[INFO] shardingsphere-test-e2e-fixture .................... SUCCESS [  5.577 s]
[INFO] shardingsphere-test-e2e-env ........................ SUCCESS [  5.612 s]
[INFO] shardingsphere-test-e2e-sql ........................ SUCCESS [  9.163 s]
[INFO] shardingsphere-test-e2e-driver ..................... SUCCESS [  3.546 s]
[INFO] shardingsphere-test-e2e-agent ...................... SUCCESS [  0.177 s]
[INFO] shardingsphere-test-e2e-agent-plugins .............. SUCCESS [  0.159 s]
[INFO] shardingsphere-test-e2e-agent-plugins-common ....... SUCCESS [  1.544 s]
[INFO] shardingsphere-test-e2e-agent-plugins-metrics ...... SUCCESS [  0.117 s]
[INFO] shardingsphere-test-e2e-agent-plugins-metrics-prometheus SUCCESS [  1.608 s]
[INFO] shardingsphere-test-e2e-agent-plugins-tracing ...... SUCCESS [  0.157 s]
[INFO] shardingsphere-test-e2e-agent-plugins-jaeger ....... SUCCESS [  1.850 s]
[INFO] shardingsphere-test-e2e-agent-plugins-zipkin ....... SUCCESS [  1.632 s]
[INFO] shardingsphere-test-e2e-agent-plugins-logging ...... SUCCESS [  0.134 s]
[INFO] shardingsphere-test-e2e-agent-plugins-logging-file . SUCCESS [  1.439 s]
[INFO] shardingsphere-test-e2e-agent-jdbc-project ......... SUCCESS [  2.360 s]
[INFO] shardingsphere-test-e2e-operation .................. SUCCESS [  0.169 s]
[INFO] shardingsphere-test-e2e-pipeline ................... SUCCESS [  6.809 s]
[INFO] shardingsphere-test-e2e-transaction ................ SUCCESS [  6.795 s]
[INFO] shardingsphere-test-e2e-showprocesslist ............ SUCCESS [  5.326 s]
[INFO] shardingsphere-distribution ........................ SUCCESS [  0.265 s]
[INFO] shardingsphere-src-distribution .................... SUCCESS [  0.151 s]
[INFO] shardingsphere-agent-distribution .................. SUCCESS [  0.478 s]
[INFO] shardingsphere-jdbc-distribution ................... SUCCESS [  1.883 s]
[INFO] shardingsphere-proxy-distribution .................. SUCCESS [  3.425 s]
[INFO] shardingsphere-proxy-native-distribution ........... SUCCESS [  3.461 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  07:48 min (Wall Clock)
[INFO] Finished at: 2023-10-23T06:12:22Z
[INFO] ------------------------------------------------------------------------

Checkstyle

./mvnw spotless:apply -Pcheck

[INFO] Reactor Summary for Apache ShardingSphere 5.4.2-SNAPSHOT:
[INFO] 
[INFO] Apache ShardingSphere .............................. SUCCESS [  3.022 s]
[INFO] shardingsphere-infra ............................... SUCCESS [  0.108 s]
[INFO] shardingsphere-infra-exception ..................... SUCCESS [  0.116 s]
[INFO] shardingsphere-infra-exception-core ................ SUCCESS [  4.052 s]
[INFO] shardingsphere-test ................................ SUCCESS [  0.106 s]
[INFO] shardingsphere-test-util ........................... SUCCESS [  0.471 s]
[INFO] shardingsphere-infra-spi ........................... SUCCESS [  0.551 s]
[INFO] shardingsphere-infra-util .......................... SUCCESS [  0.461 s]
[INFO] shardingsphere-infra-database ...................... SUCCESS [  0.078 s]
[INFO] shardingsphere-infra-database-core ................. SUCCESS [  0.562 s]
[INFO] shardingsphere-infra-database-type ................. SUCCESS [  0.090 s]
[INFO] shardingsphere-infra-database-mysql ................ SUCCESS [  0.170 s]
[INFO] shardingsphere-infra-database-mariadb .............. SUCCESS [  0.079 s]
[INFO] shardingsphere-infra-database-postgresql ........... SUCCESS [  0.232 s]
[INFO] shardingsphere-infra-database-opengauss ............ SUCCESS [  0.229 s]
[INFO] shardingsphere-infra-database-oracle ............... SUCCESS [  0.263 s]
[INFO] shardingsphere-infra-database-sqlserver ............ SUCCESS [  0.254 s]
[INFO] shardingsphere-infra-database-h2 ................... SUCCESS [  0.221 s]
[INFO] shardingsphere-infra-database-sql92 ................ SUCCESS [  0.116 s]
[INFO] shardingsphere-test-fixture ........................ SUCCESS [  0.048 s]
[INFO] shardingsphere-test-fixture-database ............... SUCCESS [  0.098 s]
[INFO] shardingsphere-infra-data-source-pool .............. SUCCESS [  0.040 s]
[INFO] shardingsphere-infra-data-source-pool-core ......... SUCCESS [  0.300 s]
[INFO] shardingsphere-infra-data-source-pool-type ......... SUCCESS [  0.059 s]
[INFO] shardingsphere-infra-data-source-pool-hikari ....... SUCCESS [  0.119 s]
[INFO] shardingsphere-parser .............................. SUCCESS [  0.048 s]
[INFO] shardingsphere-parser-sql .......................... SUCCESS [  0.074 s]
[INFO] shardingsphere-parser-sql-spi ...................... SUCCESS [  0.123 s]
[INFO] shardingsphere-parser-sql-statement ................ SUCCESS [  4.689 s]
[INFO] shardingsphere-parser-sql-engine ................... SUCCESS [  0.397 s]
[INFO] shardingsphere-infra-common ........................ SUCCESS [  1.676 s]
[INFO] shardingsphere-infra-exception-dialect ............. SUCCESS [  0.109 s]
[INFO] shardingsphere-infra-exception-dialect-core ........ SUCCESS [  0.170 s]
[INFO] shardingsphere-infra-exception-dialect-type ........ SUCCESS [  0.072 s]
[INFO] shardingsphere-mysql-dialect-exception ............. SUCCESS [  0.090 s]
[INFO] shardingsphere-postgresql-dialect-exception ........ SUCCESS [  0.214 s]
[INFO] shardingsphere-parser-distsql ...................... SUCCESS [  0.071 s]
[INFO] shardingsphere-parser-distsql-statement ............ SUCCESS [  0.215 s]
[INFO] shardingsphere-parser-distsql-engine ............... SUCCESS [  0.132 s]
[INFO] shardingsphere-infra-parser ........................ SUCCESS [  0.130 s]
[INFO] shardingsphere-infra-binder ........................ SUCCESS [  1.468 s]
[INFO] shardingsphere-infra-session ....................... SUCCESS [  0.107 s]
[INFO] shardingsphere-infra-route ......................... SUCCESS [  0.226 s]
[INFO] shardingsphere-kernel .............................. SUCCESS [  0.073 s]
[INFO] shardingsphere-sql-translator ...................... SUCCESS [  0.071 s]
[INFO] shardingsphere-sql-translator-api .................. SUCCESS [  0.121 s]
[INFO] shardingsphere-mode ................................ SUCCESS [  0.058 s]
[INFO] shardingsphere-mode-api ............................ SUCCESS [  0.208 s]
[INFO] shardingsphere-sql-translator-core ................. SUCCESS [  0.136 s]
[INFO] shardingsphere-sql-translator-provider ............. SUCCESS [  0.046 s]
[INFO] shardingsphere-sql-translator-native-provider ...... SUCCESS [  0.090 s]
[INFO] shardingsphere-infra-rewrite ....................... SUCCESS [  0.616 s]
[INFO] shardingsphere-infra-executor ...................... SUCCESS [  1.267 s]
[INFO] shardingsphere-authority ........................... SUCCESS [  0.109 s]
[INFO] shardingsphere-authority-api ....................... SUCCESS [  0.162 s]
[INFO] shardingsphere-authority-core ...................... SUCCESS [  0.252 s]
[INFO] shardingsphere-single .............................. SUCCESS [  0.015 s]
[INFO] shardingsphere-single-api .......................... SUCCESS [  0.100 s]
[INFO] shardingsphere-transaction ......................... SUCCESS [  0.031 s]
[INFO] shardingsphere-transaction-api ..................... SUCCESS [  0.082 s]
[INFO] shardingsphere-transaction-core .................... SUCCESS [  0.212 s]
[INFO] shardingsphere-infra-context ....................... SUCCESS [  0.192 s]
[INFO] shardingsphere-test-fixture-infra .................. SUCCESS [  0.091 s]
[INFO] shardingsphere-infra-merge ......................... SUCCESS [  0.237 s]
[INFO] shardingsphere-infra-distsql-handler ............... SUCCESS [  0.147 s]
[INFO] shardingsphere-infra-expr .......................... SUCCESS [  0.041 s]
[INFO] shardingsphere-infra-expr-spi ...................... SUCCESS [  0.049 s]
[INFO] shardingsphere-infra-expr-type ..................... SUCCESS [  0.049 s]
[INFO] shardingsphere-infra-expr-groovy ................... SUCCESS [  0.092 s]
[INFO] shardingsphere-infra-expr-literal .................. SUCCESS [  0.095 s]
[INFO] shardingsphere-infra-expr-core ..................... SUCCESS [  0.169 s]
[INFO] shardingsphere-infra-expr-espresso ................. SUCCESS [  0.084 s]
[INFO] shardingsphere-data-pipeline ....................... SUCCESS [  0.044 s]
[INFO] shardingsphere-data-pipeline-distsql ............... SUCCESS [  0.064 s]
[INFO] shardingsphere-data-pipeline-distsql-statement ..... SUCCESS [  0.098 s]
[INFO] shardingsphere-data-pipeline-distsql-parser ........ SUCCESS [  0.119 s]
[INFO] shardingsphere-features ............................ SUCCESS [  0.072 s]
[INFO] shardingsphere-sharding ............................ SUCCESS [  0.047 s]
[INFO] shardingsphere-sharding-distsql .................... SUCCESS [  0.053 s]
[INFO] shardingsphere-sharding-distsql-statement .......... SUCCESS [  0.185 s]
[INFO] shardingsphere-sharding-distsql-parser ............. SUCCESS [  0.068 s]
[INFO] shardingsphere-broadcast ........................... SUCCESS [  0.056 s]
[INFO] shardingsphere-broadcast-distsql ................... SUCCESS [  0.097 s]
[INFO] shardingsphere-broadcast-distsql-statement ......... SUCCESS [  0.100 s]
[INFO] shardingsphere-broadcast-distsql-parser ............ SUCCESS [  0.123 s]
[INFO] shardingsphere-readwrite-splitting ................. SUCCESS [  0.129 s]
[INFO] shardingsphere-readwrite-splitting-distsql ......... SUCCESS [  0.057 s]
[INFO] shardingsphere-readwrite-splitting-distsql-statement SUCCESS [  0.060 s]
[INFO] shardingsphere-readwrite-splitting-distsql-parser .. SUCCESS [  0.078 s]
[INFO] shardingsphere-encrypt ............................. SUCCESS [  0.042 s]
[INFO] shardingsphere-encrypt-distsql ..................... SUCCESS [  0.056 s]
[INFO] shardingsphere-encrypt-distsql-statement ........... SUCCESS [  0.088 s]
[INFO] shardingsphere-encrypt-distsql-parser .............. SUCCESS [  0.095 s]
[INFO] shardingsphere-mask ................................ SUCCESS [  0.067 s]
[INFO] shardingsphere-mask-distsql ........................ SUCCESS [  0.072 s]
[INFO] shardingsphere-mask-distsql-statement .............. SUCCESS [  0.203 s]
[INFO] shardingsphere-mask-distsql-parser ................. SUCCESS [  0.285 s]
[INFO] shardingsphere-authority-distsql ................... SUCCESS [  0.154 s]
[INFO] shardingsphere-authority-distsql-statement ......... SUCCESS [  0.132 s]
[INFO] shardingsphere-authority-distsql-parser ............ SUCCESS [  0.127 s]
[INFO] shardingsphere-global-clock ........................ SUCCESS [  0.067 s]
[INFO] shardingsphere-global-clock-api .................... SUCCESS [  0.143 s]
[INFO] shardingsphere-global-clock-distsql ................ SUCCESS [  0.050 s]
[INFO] shardingsphere-global-clock-distsql-statement ...... SUCCESS [  0.045 s]
[INFO] shardingsphere-global-clock-distsql-parser ......... SUCCESS [  0.102 s]
[INFO] shardingsphere-traffic ............................. SUCCESS [  0.059 s]
[INFO] shardingsphere-traffic-distsql ..................... SUCCESS [  0.081 s]
[INFO] shardingsphere-traffic-distsql-statement ........... SUCCESS [  0.135 s]
[INFO] shardingsphere-traffic-distsql-parser .............. SUCCESS [  0.124 s]
[INFO] shardingsphere-transaction-distsql ................. SUCCESS [  0.085 s]
[INFO] shardingsphere-transaction-distsql-statement ....... SUCCESS [  0.089 s]
[INFO] shardingsphere-transaction-distsql-parser .......... SUCCESS [  0.156 s]
[INFO] shardingsphere-single-distsql ...................... SUCCESS [  0.077 s]
[INFO] shardingsphere-single-distsql-statement ............ SUCCESS [  0.107 s]
[INFO] shardingsphere-single-distsql-parser ............... SUCCESS [  0.116 s]
[INFO] shardingsphere-sql-parser .......................... SUCCESS [  0.071 s]
[INFO] shardingsphere-sql-parser-distsql .................. SUCCESS [  0.104 s]
[INFO] shardingsphere-sql-parser-distsql-statement ........ SUCCESS [  0.070 s]
[INFO] shardingsphere-sql-parser-distsql-parser ........... SUCCESS [  0.084 s]
[INFO] shardingsphere-sql-translator-distsql .............. SUCCESS [  0.053 s]
[INFO] shardingsphere-sql-translator-distsql-statement .... SUCCESS [  0.047 s]
[INFO] shardingsphere-sql-translator-distsql-parser ....... SUCCESS [  0.096 s]
[INFO] shardingsphere-shadow .............................. SUCCESS [  0.054 s]
[INFO] shardingsphere-shadow-distsql ...................... SUCCESS [  0.058 s]
[INFO] shardingsphere-shadow-distsql-statement ............ SUCCESS [  0.110 s]
[INFO] shardingsphere-shadow-distsql-parser ............... SUCCESS [  0.102 s]
[INFO] shardingsphere-it .................................. SUCCESS [  0.046 s]
[INFO] shardingsphere-it-parser ........................... SUCCESS [  3.432 s]
[INFO] shardingsphere-parser-sql-dialect .................. SUCCESS [  0.063 s]
[INFO] shardingsphere-parser-sql-sql92 .................... SUCCESS [  0.165 s]
[INFO] shardingsphere-parser-sql-postgresql ............... SUCCESS [  0.347 s]
[INFO] shardingsphere-parser-sql-mysql .................... SUCCESS [  0.521 s]
[INFO] shardingsphere-parser-sql-oracle ................... SUCCESS [  0.365 s]
[INFO] shardingsphere-parser-sql-sqlserver ................ SUCCESS [  0.269 s]
[INFO] shardingsphere-parser-sql-opengauss ................ SUCCESS [  0.475 s]
[INFO] shardingsphere-db-protocol ......................... SUCCESS [  0.073 s]
[INFO] shardingsphere-db-protocol-core .................... SUCCESS [  0.131 s]
[INFO] shardingsphere-postgresql-protocol ................. SUCCESS [  0.625 s]
[INFO] shardingsphere-mysql-protocol ...................... SUCCESS [  1.014 s]
[INFO] shardingsphere-opengauss-protocol .................. SUCCESS [  0.133 s]
[INFO] shardingsphere-metadata ............................ SUCCESS [  0.082 s]
[INFO] shardingsphere-metadata-core ....................... SUCCESS [  0.505 s]
[INFO] shardingsphere-mode-core ........................... SUCCESS [  0.514 s]
[INFO] shardingsphere-mode-type ........................... SUCCESS [  0.100 s]
[INFO] shardingsphere-standalone-mode ..................... SUCCESS [  0.035 s]
[INFO] shardingsphere-standalone-mode-repository .......... SUCCESS [  0.012 s]
[INFO] shardingsphere-standalone-mode-repository-api ...... SUCCESS [  0.015 s]
[INFO] shardingsphere-standalone-mode-core ................ SUCCESS [  0.053 s]
[INFO] shardingsphere-standalone-mode-repository-provider . SUCCESS [  0.015 s]
[INFO] shardingsphere-standalone-mode-repository-jdbc ..... SUCCESS [  0.041 s]
[INFO] shardingsphere-cluster-mode ........................ SUCCESS [  0.019 s]
[INFO] shardingsphere-cluster-mode-repository ............. SUCCESS [  0.044 s]
[INFO] shardingsphere-cluster-mode-repository-api ......... SUCCESS [  0.107 s]
[INFO] shardingsphere-sql-federation ...................... SUCCESS [  0.034 s]
[INFO] shardingsphere-sql-federation-api .................. SUCCESS [  0.049 s]
[INFO] shardingsphere-single-core ......................... SUCCESS [  0.329 s]
[INFO] shardingsphere-cluster-mode-core ................... SUCCESS [  0.694 s]
[INFO] shardingsphere-cluster-mode-repository-provider .... SUCCESS [  0.029 s]
[INFO] shardingsphere-cluster-mode-repository-zookeeper ... SUCCESS [  0.127 s]
[INFO] shardingsphere-cluster-mode-repository-etcd ........ SUCCESS [  0.105 s]
[INFO] shardingsphere-cluster-mode-repository-consul ...... SUCCESS [  0.113 s]
[INFO] shardingsphere-single-distsql-handler .............. SUCCESS [  0.114 s]
[INFO] shardingsphere-authority-distsql-handler ........... SUCCESS [  0.078 s]
[INFO] shardingsphere-transaction-type .................... SUCCESS [  0.036 s]
[INFO] shardingsphere-transaction-xa ...................... SUCCESS [  0.035 s]
[INFO] shardingsphere-transaction-xa-spi .................. SUCCESS [  0.064 s]
[INFO] shardingsphere-transaction-xa-provider ............. SUCCESS [  0.041 s]
[INFO] shardingsphere-transaction-xa-atomikos ............. SUCCESS [  0.039 s]
[INFO] shardingsphere-transaction-xa-core ................. SUCCESS [  0.065 s]
[INFO] shardingsphere-transaction-xa-narayana ............. SUCCESS [  0.025 s]
[INFO] shardingsphere-transaction-base .................... SUCCESS [  0.020 s]
[INFO] shardingsphere-transaction-base-seata-at ........... SUCCESS [  0.062 s]
[INFO] shardingsphere-transaction-distsql-handler ......... SUCCESS [  0.065 s]
[INFO] shardingsphere-time-service ........................ SUCCESS [  0.051 s]
[INFO] shardingsphere-time-service-api .................... SUCCESS [  0.067 s]
[INFO] shardingsphere-time-service-core ................... SUCCESS [  0.099 s]
[INFO] shardingsphere-time-service-type ................... SUCCESS [  0.030 s]
[INFO] shardingsphere-system-time-service ................. SUCCESS [  0.055 s]
[INFO] shardingsphere-database-time-service ............... SUCCESS [  0.057 s]
[INFO] shardingsphere-data-pipeline-api ................... SUCCESS [  0.192 s]
[INFO] shardingsphere-sql-parser-api ...................... SUCCESS [  0.023 s]
[INFO] shardingsphere-sql-parser-core ..................... SUCCESS [  0.033 s]
[INFO] shardingsphere-sharding-api ........................ SUCCESS [  0.041 s]
[INFO] shardingsphere-sql-federation-optimizer ............ SUCCESS [  0.259 s]
[INFO] shardingsphere-sql-federation-executor ............. SUCCESS [  0.036 s]
[INFO] shardingsphere-sql-federation-core ................. SUCCESS [  0.064 s]
[INFO] shardingsphere-it-yaml ............................. SUCCESS [  0.019 s]
[INFO] shardingsphere-sharding-core ....................... SUCCESS [  0.963 s]
[INFO] shardingsphere-data-pipeline-core .................. SUCCESS [  0.678 s]
[INFO] shardingsphere-global-clock-core ................... SUCCESS [  0.033 s]
[INFO] shardingsphere-global-clock-type ................... SUCCESS [  0.025 s]
[INFO] shardingsphere-global-clock-tso .................... SUCCESS [  0.029 s]
[INFO] shardingsphere-global-clock-tso-spi ................ SUCCESS [  0.015 s]
[INFO] shardingsphere-global-clock-tso-provider ........... SUCCESS [  0.010 s]
[INFO] shardingsphere-global-clock-tso-provider-redis ..... SUCCESS [  0.015 s]
[INFO] shardingsphere-global-clock-tso-core ............... SUCCESS [  0.013 s]
[INFO] shardingsphere-traffic-api ......................... SUCCESS [  0.023 s]
[INFO] shardingsphere-traffic-core ........................ SUCCESS [  0.053 s]
[INFO] shardingsphere-broadcast-api ....................... SUCCESS [  0.012 s]
[INFO] shardingsphere-broadcast-core ...................... SUCCESS [  0.044 s]
[INFO] shardingsphere-readwrite-splitting-api ............. SUCCESS [  0.014 s]
[INFO] shardingsphere-readwrite-splitting-core ............ SUCCESS [  0.076 s]
[INFO] shardingsphere-encrypt-api ......................... SUCCESS [  0.023 s]
[INFO] shardingsphere-encrypt-core ........................ SUCCESS [  0.251 s]
[INFO] shardingsphere-mask-api ............................ SUCCESS [  0.016 s]
[INFO] shardingsphere-mask-core ........................... SUCCESS [  0.089 s]
[INFO] shardingsphere-shadow-api .......................... SUCCESS [  0.020 s]
[INFO] shardingsphere-shadow-core ......................... SUCCESS [  0.103 s]
[INFO] shardingsphere-logging ............................. SUCCESS [  0.011 s]
[INFO] shardingsphere-logging-api ......................... SUCCESS [  0.014 s]
[INFO] shardingsphere-logging-core ........................ SUCCESS [  0.031 s]
[INFO] shardingsphere-jdbc ................................ SUCCESS [  0.010 s]
[INFO] shardingsphere-jdbc-core ........................... SUCCESS [  0.259 s]
[INFO] shardingsphere-data-pipeline-dialect ............... SUCCESS [  0.012 s]
[INFO] shardingsphere-data-pipeline-mysql ................. SUCCESS [  0.092 s]
[INFO] shardingsphere-data-pipeline-postgresql ............ SUCCESS [  0.097 s]
[INFO] shardingsphere-data-pipeline-opengauss ............. SUCCESS [  0.048 s]
[INFO] shardingsphere-data-pipeline-h2 .................... SUCCESS [  0.019 s]
[INFO] shardingsphere-data-pipeline-scenario .............. SUCCESS [  0.013 s]
[INFO] shardingsphere-data-pipeline-scenario-consistencycheck SUCCESS [  0.039 s]
[INFO] shardingsphere-data-pipeline-scenario-migration .... SUCCESS [  0.056 s]
[INFO] shardingsphere-data-pipeline-cdc ................... SUCCESS [  0.011 s]
[INFO] shardingsphere-data-pipeline-cdc-protocol .......... SUCCESS [  0.010 s]
[INFO] shardingsphere-data-pipeline-cdc-core .............. SUCCESS [  0.085 s]
[INFO] shardingsphere-data-pipeline-distsql-handler ....... SUCCESS [  0.063 s]
[INFO] shardingsphere-data-pipeline-cdc-client ............ SUCCESS [  0.038 s]
[INFO] shardingsphere-sql-federation-distsql .............. SUCCESS [  0.012 s]
[INFO] shardingsphere-sql-federation-distsql-statement .... SUCCESS [  0.015 s]
[INFO] shardingsphere-sql-federation-distsql-parser ....... SUCCESS [  0.018 s]
[INFO] shardingsphere-sql-federation-distsql-handler ...... SUCCESS [  0.018 s]
[INFO] shardingsphere-sql-parser-distsql-handler .......... SUCCESS [  0.022 s]
[INFO] shardingsphere-sql-translator-jooq-provider ........ SUCCESS [  0.016 s]
[INFO] shardingsphere-sql-translator-distsql-handler ...... SUCCESS [  0.018 s]
[INFO] shardingsphere-traffic-distsql-handler ............. SUCCESS [  0.026 s]
[INFO] shardingsphere-global-clock-hlc .................... SUCCESS [  0.013 s]
[INFO] shardingsphere-global-clock-distsql-handler ........ SUCCESS [  0.020 s]
[INFO] shardingsphere-sharding-distsql-handler ............ SUCCESS [  0.159 s]
[INFO] shardingsphere-broadcast-distsql-handler ........... SUCCESS [  0.026 s]
[INFO] shardingsphere-readwrite-splitting-distsql-handler . SUCCESS [  0.043 s]
[INFO] shardingsphere-encrypt-distsql-handler ............. SUCCESS [  0.043 s]
[INFO] shardingsphere-shadow-distsql-handler .............. SUCCESS [  0.064 s]
[INFO] shardingsphere-mask-distsql-handler ................ SUCCESS [  0.037 s]
[INFO] shardingsphere-proxy ............................... SUCCESS [  0.011 s]
[INFO] shardingsphere-proxy-backend ....................... SUCCESS [  0.009 s]
[INFO] shardingsphere-proxy-backend-core .................. SUCCESS [  0.422 s]
[INFO] shardingsphere-proxy-frontend ...................... SUCCESS [  0.011 s]
[INFO] shardingsphere-proxy-frontend-spi .................. SUCCESS [  0.019 s]
[INFO] shardingsphere-proxy-backend-type .................. SUCCESS [  0.016 s]
[INFO] shardingsphere-proxy-backend-mysql ................. SUCCESS [  0.136 s]
[INFO] shardingsphere-proxy-backend-postgresql ............ SUCCESS [  0.041 s]
[INFO] shardingsphere-proxy-backend-opengauss ............. SUCCESS [  0.035 s]
[INFO] shardingsphere-proxy-frontend-core ................. SUCCESS [  0.079 s]
[INFO] shardingsphere-proxy-frontend-type ................. SUCCESS [  0.011 s]
[INFO] shardingsphere-proxy-frontend-mysql ................ SUCCESS [  0.104 s]
[INFO] shardingsphere-proxy-frontend-postgresql ........... SUCCESS [  0.301 s]
[INFO] shardingsphere-proxy-frontend-opengauss ............ SUCCESS [  0.233 s]
[INFO] shardingsphere-proxy-backend-hbase ................. SUCCESS [  0.194 s]
[INFO] shardingsphere-proxy-bootstrap ..................... SUCCESS [  0.057 s]
[INFO] shardingsphere-agent ............................... SUCCESS [  0.020 s]
[INFO] shardingsphere-agent-api ........................... SUCCESS [  0.017 s]
[INFO] shardingsphere-agent-core .......................... SUCCESS [  0.080 s]
[INFO] shardingsphere-agent-plugins ....................... SUCCESS [  0.012 s]
[INFO] shardingsphere-agent-plugin-core ................... SUCCESS [  0.035 s]
[INFO] shardingsphere-agent-plugin-metrics ................ SUCCESS [  0.009 s]
[INFO] shardingsphere-agent-metrics-core .................. SUCCESS [  0.073 s]
[INFO] shardingsphere-agent-metrics-type .................. SUCCESS [  0.011 s]
[INFO] shardingsphere-agent-metrics-prometheus ............ SUCCESS [  0.043 s]
[INFO] shardingsphere-agent-plugin-tracing ................ SUCCESS [  0.025 s]
[INFO] shardingsphere-agent-tracing-core .................. SUCCESS [  0.018 s]
[INFO] shardingsphere-agent-tracing-type .................. SUCCESS [  0.008 s]
[INFO] shardingsphere-agent-tracing-opentelemetry ......... SUCCESS [  0.044 s]
[INFO] shardingsphere-agent-plugin-logging ................ SUCCESS [  0.023 s]
[INFO] shardingsphere-agent-logging-type .................. SUCCESS [  0.022 s]
[INFO] shardingsphere-agent-logging-file .................. SUCCESS [  0.022 s]
[INFO] shardingsphere-it-optimizer ........................ SUCCESS [  0.022 s]
[INFO] shardingsphere-it-rewriter ......................... SUCCESS [  0.052 s]
[INFO] shardingsphere-it-pipeline ......................... SUCCESS [  0.150 s]
[INFO] shardingsphere-test-e2e ............................ SUCCESS [  0.029 s]
[INFO] shardingsphere-test-e2e-fixture .................... SUCCESS [  0.035 s]
[INFO] shardingsphere-test-e2e-env ........................ SUCCESS [  0.090 s]
[INFO] shardingsphere-test-e2e-sql ........................ SUCCESS [  0.126 s]
[INFO] shardingsphere-test-e2e-driver ..................... SUCCESS [  0.059 s]
[INFO] shardingsphere-test-e2e-agent ...................... SUCCESS [  0.037 s]
[INFO] shardingsphere-test-e2e-agent-plugins .............. SUCCESS [  0.014 s]
[INFO] shardingsphere-test-e2e-agent-plugins-common ....... SUCCESS [  0.023 s]
[INFO] shardingsphere-test-e2e-agent-plugins-metrics ...... SUCCESS [  0.027 s]
[INFO] shardingsphere-test-e2e-agent-plugins-metrics-prometheus SUCCESS [  0.046 s]
[INFO] shardingsphere-test-e2e-agent-plugins-tracing ...... SUCCESS [  0.022 s]
[INFO] shardingsphere-test-e2e-agent-plugins-jaeger ....... SUCCESS [  0.030 s]
[INFO] shardingsphere-test-e2e-agent-plugins-zipkin ....... SUCCESS [  0.029 s]
[INFO] shardingsphere-test-e2e-agent-plugins-logging ...... SUCCESS [  0.022 s]
[INFO] shardingsphere-test-e2e-agent-plugins-logging-file . SUCCESS [  0.055 s]
[INFO] shardingsphere-test-e2e-agent-jdbc-project ......... SUCCESS [  0.023 s]
[INFO] shardingsphere-test-e2e-operation .................. SUCCESS [  0.010 s]
[INFO] shardingsphere-test-e2e-pipeline ................... SUCCESS [  0.116 s]
[INFO] shardingsphere-test-e2e-transaction ................ SUCCESS [  0.103 s]
[INFO] shardingsphere-test-e2e-showprocesslist ............ SUCCESS [  0.022 s]
[INFO] shardingsphere-distribution ........................ SUCCESS [  0.010 s]
[INFO] shardingsphere-src-distribution .................... SUCCESS [  0.009 s]
[INFO] shardingsphere-agent-distribution .................. SUCCESS [  0.010 s]
[INFO] shardingsphere-jdbc-distribution ................... SUCCESS [  0.009 s]
[INFO] shardingsphere-proxy-distribution .................. SUCCESS [  0.017 s]
[INFO] shardingsphere-proxy-native-distribution ........... SUCCESS [  0.014 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  59.124 s
[INFO] Finished at: 2023-10-23T05:46:26Z
[INFO] ------------------------------------------------------------------------

Before committing this PR, I'm sure that I have checked the following options:

  • My code follows the code of conduct 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 : ./mvnw clean install -B -T1C -Dmaven.javadoc.skip -Dmaven.jacoco.skip -e.
  • I have made corresponding changes to the documentation.
  • I have added corresponding unit tests for my changes.

@strongduanmu
Copy link
Member

Hi @Zhenye-Na, does this pr has any update?

@Zhenye-Na
Copy link
Contributor Author

Hi @Zhenye-Na, does this pr has any update?

Hi @strongduanmu ,

I have lost the track of this PR for a while, thanks for reminding me of this un-finished work.

From the previous checkpoint, I noticed that CI / CI - Compile by JDK 11 and Run on JDK 8 (pull_request) is failing. So I will have to spend some time to check and hopefully could fix it real soon.

@Zhenye-Na Zhenye-Na marked this pull request as ready for review April 29, 2024 06:08
@Zhenye-Na
Copy link
Contributor Author

Hi @strongduanmu ,

Whenever you've got a chance, could you take a lookat this PR? If everything looks good, I'm happy to merge this in.

@Test
void assertFindColumnProjectionWithoutExpandProjections() {
SelectStatementContext selectStatementContext = mock(SelectStatementContext.class, RETURNS_DEEP_STUBS);

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove useless blank line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, I ran spotless:apply so I thought the formatting should be good.

Is this something that we could potentially consider move into formatter rules or maybe this is the conventional code style that we used here?


assertFalse(result.isPresent());
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to add an unit test under normal scenarios?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried with mocking, and was getting NPE after it, so I was considering at least getting the unit test for failed scenarios. If you prefer, I can try to get the successful cases in unit tests as well. Though I dont have a specific timeline for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add test cases for SelectStatementContext.findColumnProjection()
2 participants