修复更新表列重复问题

pull/1/head
潘建东 9 months ago
parent 83585e3ca4
commit cd4627d3cc

@ -55,7 +55,7 @@ namespace ZKLT.Hadoop
{
StringBuilder _colstr = new StringBuilder();
var _column = table.Columns[i];
if (_dbColumns.Any(x => x.Key == _column.Key))
if (_dbColumns.Any(x => x.Key!.ToLower() == _column.Key!.ToLower()))
{
_colstr.Append($@"MODIFY `{_column.Key}`");
}

Loading…
Cancel
Save