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/04/19 14:00:36 UTC
[GitHub] [shardingsphere] yx9o opened a new issue, #16933: The `defaultShardingColumn` configuration in the instance does not take effect.
yx9o opened a new issue, #16933:
URL: https://github.com/apache/shardingsphere/issues/16933
In the example, the following configuration example will report NullPointerException:
![image](https://user-images.githubusercontent.com/12792261/164018545-06886faf-7147-4ce3-bff7-20404951debf.png)
### Expected behavior
Example normal operation.
### Actual behavior
![9ac2e06b1f5479d07cb3de0e56a656d](https://user-images.githubusercontent.com/12792261/164017960-05a06521-4aa5-4f2f-9a83-8877f6a71102.png)
### Reason analyze (If you can)
![f84b31c7096b2e5be9ecebff0a7fd8e](https://user-images.githubusercontent.com/12792261/164018060-2ba9d9cb-c4d8-4add-9a9f-75c627c3a128.png)
When `shardingColumn` is not configured, this is empty and defaultShardingColumn is not used, and an error is reported when replacing.
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
How to reproduce: Example of running `sharding-databases-range.yaml` configuration.
![image](https://user-images.githubusercontent.com/12792261/164020229-a78b1823-b2ac-4d21-9a1f-2a06b9490a88.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] yx9o closed issue #16933: The `defaultShardingColumn` configuration in the instance does not take effect.
Posted by GitBox <gi...@apache.org>.
yx9o closed issue #16933: The `defaultShardingColumn` configuration in the instance does not take effect.
URL: https://github.com/apache/shardingsphere/issues/16933
--
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 #16933: The `defaultShardingColumn` configuration in the instance does not take effect.
Posted by GitBox <gi...@apache.org>.
yx9o commented on issue #16933:
URL: https://github.com/apache/shardingsphere/issues/16933#issuecomment-1103785647
fixed by #16941 .
--
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