Skip to content

Fix transform query for external databases in presense of aliases#12151

Merged
alexey-milovidov merged 1 commit intomasterfrom
fix-transform-query-aliases
Jul 7, 2020
Merged

Fix transform query for external databases in presense of aliases#12151
alexey-milovidov merged 1 commit intomasterfrom
fix-transform-query-aliases

Conversation

@alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix transform of query to send to external DBMS (e.g. MySQL, ODBC) in presense of aliases. This fixes #12032.

class DropAliasesMatcher
{
public:
struct Data {};
Copy link
Member Author

Choose a reason for hiding this comment

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

@4ertus2 Did I get it right?

@blinkov blinkov added the pr-bugfix Pull request with bugfix, not backported by default label Jul 6, 2020
@alexey-milovidov alexey-milovidov self-assigned this Jul 7, 2020
@alexey-milovidov alexey-milovidov merged commit 546fcc9 into master Jul 7, 2020
@alexey-milovidov alexey-milovidov deleted the fix-transform-query-aliases branch July 7, 2020 18:46
alexey-milovidov added a commit that referenced this pull request Jul 7, 2020
…b6e36e89a4122ff0dc696e6b5af71

Cherry pick #12151 to 20.5: Fix transform query for external databases in presense of aliases
robot-clickhouse pushed a commit that referenced this pull request Jul 9, 2020
alexey-milovidov added a commit that referenced this pull request Jul 10, 2020
Backport #12151 to 20.5: Fix transform query for external databases in presense of aliases
alesapin pushed a commit that referenced this pull request Jul 10, 2020
Fix transform query for external databases in presense of aliases

(cherry picked from commit 546fcc9)
alesapin pushed a commit that referenced this pull request Jul 10, 2020
Fix transform query for external databases in presense of aliases

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

Labels

pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

20.4 table function mysql(), pass alias wrong to MySQL server

3 participants