You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "Y-sir (via GitHub)" <gi...@apache.org> on 2023/12/22 08:08:27 UTC
[I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Y-sir opened a new issue, #29504:
URL: https://github.com/apache/shardingsphere/issues/29504
## 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.4.1
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy Oracle syntax parsing issues
### Expected behavior
Normal parsing
### Actual behavior
When select does not add a table alias, left join / right join will be parsed into inner join, but adding an alias will not cause parsing errors.
Without adding table alias

When adding a table alias

### Reason analyze (If you can)
### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
SQL without table alias
SELECT *
FROM table1
LEFT JOIN table2 ON table1.id = table2.id
SQL with table alias
SELECT *
FROM table1 t1
LEFT JOIN table2 t2 ON t1.id = t2.id
### 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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "Y-sir (via GitHub)" <gi...@apache.org>.
Y-sir commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868659470
@TherChenYang There is also a full join bug
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "Y-sir (via GitHub)" <gi...@apache.org>.
Y-sir commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868661184
@TherChenYang SELECT
select_list
FROM
T1
FULL JOIN T2 ON join_condition;
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1867375068
@strongduanmu You can assign that to me. 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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "strongduanmu (via GitHub)" <gi...@apache.org>.
strongduanmu closed issue #29504: Syntax parsing tree Outer join syntax parsing error
URL: https://github.com/apache/shardingsphere/issues/29504
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868665113
@Y-sir understand
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868660280
@Y-sir
like this?
```
SELECT
select_list
FROM
T1
FULL OUTER JOIN T2 ON join_condition;
```
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868685354
@Y-sir I have submitted a pr associated with this issue
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "zihaoAK47 (via GitHub)" <gi...@apache.org>.
zihaoAK47 commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1867382689
@TherChenYang Assigned
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "Y-sir (via GitHub)" <gi...@apache.org>.
Y-sir commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868674527
@TherChenYang Would you like me to submit another issue
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868675274
@Y-sir Thank you very much. You can open a new issue,I will associate the new pr to your new issue
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1867374745
You can assign that to me. 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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "TherChenYang (via GitHub)" <gi...@apache.org>.
TherChenYang commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868659802
@Y-sir
Can you provide the SQL with parsing errors?
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "Y-sir (via GitHub)" <gi...@apache.org>.
Y-sir commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868659138
@TherChenYang is also a full join bug
--
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
Re: [I] Syntax parsing tree Outer join syntax parsing error [shardingsphere]
Posted by "Y-sir (via GitHub)" <gi...@apache.org>.
Y-sir commented on issue #29504:
URL: https://github.com/apache/shardingsphere/issues/29504#issuecomment-1868710235
@TherChenYang Got it. 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