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 only expr of aliasedExpr to weightstring function #7165

Merged
merged 1 commit into from
Dec 15, 2020

Conversation

harshit-gangal
Copy link
Member

Signed-off-by: Harshit Gangal harshit@planetscale.com

Backport

NO

Status

READY

Description

Currently we add aliasedExpr as is to the weightstring function this causes issue for aliased columns

Related Issue(s)

List related PRs against other branches:
Fixes #7036

Impacted Areas in Vitess

List general components of the application that this PR will affect:

  • Query Serving

Signed-off-by: Harshit Gangal <harshit@planetscale.com>
@systay systay merged commit 9592c0f into vitessio:master Dec 15, 2020
@systay systay deleted the weightstring-fix branch December 15, 2020 04:56
@askdba askdba added this to the v9.0 milestone Dec 23, 2020
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

Successfully merging this pull request may close these issues.

Ordering by VARCHAR column with an aliased name inserts invalid weight_string()
3 participants