You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "RaigorJiang (via GitHub)" <gi...@apache.org> on 2023/04/24 16:30:06 UTC

[GitHub] [shardingsphere] RaigorJiang opened a new issue, #25311: NPE when ALTER DEFAULT SHARDING TABLE STRATEGY

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

   ## Bug Report
   ### Which version of ShardingSphere did you use?
   master 66c42e9d
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   ShardingSphere-Proxy
   
   ### Expected behavior
   DistSQL executed successfully
   
   ### Actual behavior
   ```sql
   mysql> ALTER DEFAULT SHARDING TABLE STRATEGY (TYPE='hint', SHARDING_ALGORITHM(TYPE(NAME=HINT_INLINE, PROPERTIES('algorithm-expression'='t_order_${value % 2}'))));
   ERROR 30000 (HY000): Unknown exception: Cannot invoke "org.apache.shardingsphere.distsql.parser.autogen.ShardingDistSQLStatementParser$ShardingColumnDefinitionContext.shardingColumn()" because "ctx" is null
   ```
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   
   <img width="1085" alt="image" src="https://user-images.githubusercontent.com/5668787/234058836-81cb88fb-3efb-4c55-99a4-493b10f3e7c3.png">
   
   
   


-- 
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] RaigorJiang closed issue #25311: NPE when ALTER DEFAULT SHARDING TABLE STRATEGY

Posted by "RaigorJiang (via GitHub)" <gi...@apache.org>.
RaigorJiang closed issue #25311: NPE when ALTER DEFAULT SHARDING TABLE STRATEGY
URL: https://github.com/apache/shardingsphere/issues/25311


-- 
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] yx9o commented on issue #25311: NPE when ALTER DEFAULT SHARDING TABLE STRATEGY

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

   @RaigorJiang Hi, I want to fix.


-- 
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 commented on issue #25311: NPE when ALTER DEFAULT SHARDING TABLE STRATEGY

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

   @yx9o Welcome again!


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