mirror of https://github.com/tikv/client-java.git
let column_case_insentive (#678)
Signed-off-by: shiyuhang <1136742008@qq.com>
This commit is contained in:
parent
24ed9e2b8a
commit
1554ae5fec
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue