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 2023/01/10 09:45:33 UTC

[GitHub] [shardingsphere] git-chenhao opened a new issue, #23475: In the case of inconsistent table DDL in the partition scenario, execute the select * error column index out of range

git-chenhao opened a new issue, #23475:
URL: https://github.com/apache/shardingsphere/issues/23475

   ## Bug Report
   
   select * from table_a
   
   logic_table: table_a
   actual_table: table_a_0~table_9
   
   table_a_0~table_5 has 10 column
   table_a_6~table_9 has 9 column
   
   ### Which version of ShardingSphere did you use?
   5.3.1-release
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   execute success
   
   ### Actual behavior
   error,Column index out of range
   
   ### Reason analyze (If you can)
   ss metadata: has 10 column
   table_a_6~table_9 has 9 column
   
   ss metadata info Inconsistent with the table structure in data source
   
   <img width="1916" alt="image" src="https://user-images.githubusercontent.com/20919316/211516219-9dffa88a-c385-4e79-a6fc-b45179e55044.png">
   
   
   ### 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] git-chenhao commented on issue #23475: In the case of inconsistent table DDL in the sharding, execute the select * error column index out of range

Posted by "git-chenhao (via GitHub)" <gi...@apache.org>.
git-chenhao commented on issue #23475:
URL: https://github.com/apache/shardingsphere/issues/23475#issuecomment-1651246722

   @zhaojinchao95 Can you help me?😭


-- 
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] github-actions[bot] commented on issue #23475: In the case of inconsistent table DDL in the sharding, execute the select * error column index out of range

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #23475:
URL: https://github.com/apache/shardingsphere/issues/23475#issuecomment-1741430162

   There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.


-- 
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] zhaojinchao95 commented on issue #23475: In the case of inconsistent table DDL in the sharding, execute the select * error column index out of range

Posted by GitBox <gi...@apache.org>.
zhaojinchao95 commented on issue #23475:
URL: https://github.com/apache/shardingsphere/issues/23475#issuecomment-1377023692

   Execute [REFRESH DATABASE METADATA FROM GOVERNANCE CENTER](https://shardingsphere.apache.org/document/current/cn/user-manual/shardingsphere-proxy/distsql/syntax/ral/refresh-database-metadata/) afrer execute DDL SQL, might fix this.


-- 
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] git-chenhao commented on issue #23475: In the case of inconsistent table DDL in the sharding, execute the select * error column index out of range

Posted by GitBox <gi...@apache.org>.
git-chenhao commented on issue #23475:
URL: https://github.com/apache/shardingsphere/issues/23475#issuecomment-1377060780

   @zhaojinchao95 When there is a lot of data in the physical database, table splitting may be half successful and half failed。Do you have any good suggestions? We can change the code
   


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