let column_case_insentive (#678)

Signed-off-by: shiyuhang <1136742008@qq.com>
This commit is contained in:
shi yuhang 2022-12-20 20:54:20 +08:00 committed by GitHub
parent 24ed9e2b8a
commit 1554ae5fec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -123,9 +123,9 @@ public class ColumnRef extends Expression {
@Override
public int hashCode() {
if (isResolved()) {
return Objects.hash(this.name, this.dataType);
return Objects.hash(this.name.toLowerCase(), this.dataType);
} else {
return Objects.hashCode(name);
return Objects.hashCode(name.toLowerCase());
}
}