Skip to content

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
parser Ошибки, связанные с парсером данных
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants