Skip to content

Fix simpliest case of cyclic aliases - #9603

Merged
alexey-milovidov merged 2 commits into
masterfrom
fix_cyclic_aliases
Mar 12, 2020
Merged

alexey-milovidov merged 2 commits into
masterfrom
fix_cyclic_aliases

Conversation

@alesapin

@alesapin alesapin commented Mar 11, 2020 •

Copy link
Copy Markdown
Member

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Now it's not possible to create or add columns with simple cyclic aliases like a DEFAULT b, b DEFAULT a.

Relates to #9489

@alesapin alesapin added the pr-bugfix Pull request with bugfix, not backported by default label Mar 11, 2020
@alesapin
alesapin requested a review from 4ertus2 March 11, 2020 13:40
@alesapin alesapin changed the title Fix cyclic aliases Fix simpliest case of cyclic aliases Mar 11, 2020
return;
}

/// We are alias for other column (node.name), but we are alias by

@4ertus2 4ertus2 Mar 11, 2020 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot parse the comment. Are we an alias? Yes, we are. %)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also found this comment not clear enough... but still understandable.

@alexey-milovidov

Copy link
Copy Markdown
Member

Functional stateless tests (debug) — fail: 20, passed: 2, skipped: 2

Fixed in master.

@alexey-milovidov

Copy link
Copy Markdown
Member

Performance test — 1608/1625 queries are OK

Outdated baseline. Actually now it's better.

@alexey-milovidov
alexey-milovidov merged commit 0d7336c into master Mar 12, 2020
@alexey-milovidov
alexey-milovidov deleted the fix_cyclic_aliases branch March 12, 2020 00:03
@alesapin alesapin added the v20.3 label Mar 16, 2020
KochetovNicolai pushed a commit that referenced this pull request Mar 16, 2020
Fix simpliest case of cyclic aliases

(cherry picked from commit 0d7336c)
vitlibar pushed a commit that referenced this pull request Mar 26, 2020
Fix simpliest case of cyclic aliases

(cherry picked from commit 0d7336c)
vitlibar pushed a commit that referenced this pull request Mar 26, 2020
Fix simpliest case of cyclic aliases

(cherry picked from commit 0d7336c)
vitlibar pushed a commit that referenced this pull request Mar 27, 2020
Fix simpliest case of cyclic aliases

(cherry picked from commit 0d7336c)
vitlibar pushed a commit that referenced this pull request Mar 27, 2020
Fix simpliest case of cyclic aliases

(cherry picked from commit 0d7336c)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants