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

UPDATE sql statement #539

Open
zwxx960 opened this issue Jun 6, 2022 · 0 comments
Open

UPDATE sql statement #539

zwxx960 opened this issue Jun 6, 2022 · 0 comments

Comments

@zwxx960
Copy link

zwxx960 commented Jun 6, 2022

Hi,
Having trouble executing "UPDATE" sql statement in cluster:

Whenever try to use "UPDATE" sql statement combined with "EXISTS" condition like:

UPDATE table_A T1
SET name="A"
WHERE EXISTS (SELECT 1 
                             FROM table_B T2
                            WHERE T1.id=T2.parent_id)

will get exception like:

There are not enough rules to produce a node with desired properties: convention=LOGICAL, sort=(],
DistributionTraitDef=ANY. All the inputs have relevant nodes, however the cost is still infinite.

Could anyone maybe give a hint about what's going wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant