Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add F312 MERGE statement support #28

Open
TedCraft opened this issue Feb 17, 2024 · 1 comment · Fixed by #101
Open

Add F312 MERGE statement support #28

TedCraft opened this issue Feb 17, 2024 · 1 comment · Fixed by #101
Labels
parser Ошибки, связанные с парсером данных

Comments

@TedCraft
Copy link
Collaborator


You have an error in your SQL syntax: MERGE INTO agents a USING (SELECT * FROM agents WHERE commission > 0.15) cd ON (a.agent_code = cd.agent_code) WHEN MATCHED THEN UPDATE SET agent_code = cd.agent_code WHEN NOT MATCHED THEN INSERT (agent_code) VALUES (cd.agent_code) no viable alternative at input 'MERGE' at line 1 position 1 near @01:5='MERGE'<340>1:1

@TedCraft TedCraft added the parser Ошибки, связанные с парсером данных label Aug 23, 2024
@makssent
Copy link
Collaborator

class org.apache.shardingsphere.sql.parser.sql.common.segment.generic.AliasSegment cannot be cast to class org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.TableSegment (org.apache.shardingsphere.sql.parser.sql.common.segment.generic.AliasSegment and org.apache.shardingsphere.sql.parser.sql.common.segment.generic.table.TableSegment are in unnamed module of loader 'app')

@TedCraft TedCraft reopened this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser Ошибки, связанные с парсером данных
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants