BugFix: Use columnName for hash when findColumn and findTableSourceWithColumn

This commit is contained in:
wangkaish
2021-03-22 14:22:22 +08:00
parent d56457eeeb
commit 7d14a72083
@@ -129,7 +129,7 @@ public abstract class SQLTableSourceImpl extends SQLObjectImpl implements SQLTab
return null;
}
long hash = FnvHash.hashCode64(alias);
long hash = FnvHash.hashCode64(columnName);
return findColumn(hash);
}
@@ -146,7 +146,7 @@ public abstract class SQLTableSourceImpl extends SQLObjectImpl implements SQLTab
return null;
}
long hash = FnvHash.hashCode64(alias);
long hash = FnvHash.hashCode64(columnName);
return findTableSourceWithColumn(hash, columnName, 0);
}