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 2021/07/23 08:24:10 UTC
[GitHub] [shardingsphere] Yule-Momoko opened a new issue #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Yule-Momoko opened a new issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469
## Bug Report
**For English only**, other languages will not accept.
Before report a bug, make sure you have:
- Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
- Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
Please pay attention on issues you submitted, because we maybe need more details.
If no response anymore and we cannot reproduce it on current information, we will **close it**.
Please answer these questions before submitting your issue. Thanks!
### Which version of ShardingSphere did you use?
5.0.0-betad
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
### Actual behavior
insert into tableA(id,cd)(select id,cd from tableB)Does not support
### Reason analyze (If you can)
### 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
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] RaigorJiang commented on issue #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469#issuecomment-885731079
Please refer to [Supported SQL](https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/#supported-sql-1):
> The table inserted and the table selected must be the same or bind tables.
--
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] Yule-Momoko commented on issue #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Posted by GitBox <gi...@apache.org>.
Yule-Momoko commented on issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469#issuecomment-886330666
is bind tables
--
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 #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469#issuecomment-924794650
Since this issue has been inactive for more than 30 days, we will close it.
If you still have related questions, please submit a new issue, thank you.
--
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 issue #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Posted by GitBox <gi...@apache.org>.
RaigorJiang closed issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469
--
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 #11469: insert into tableA(id,cd)(select id,cd from tableB)Does not support
Posted by GitBox <gi...@apache.org>.
RaigorJiang commented on issue #11469:
URL: https://github.com/apache/shardingsphere/issues/11469#issuecomment-886340888
How about
```sql
insert into tableA(id,cd)select id,cd from tableB
```
Do not use parentheses in query statements, like the example?
> Please refer to [Supported SQL](https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/#supported-sql-1):
>
> > The table inserted and the table selected must be the same or bind tables.
--
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