remove comments

This commit is contained in:
James Cor
2022-09-07 12:08:33 -07:00
parent 76679fbbed
commit a6f637a4ad
@@ -473,18 +473,6 @@ func rowConverter(srcSchema, targetSchema sql.Schema, h hash.Hash, meta *datas.C
if srcIdx >= 0 {
// only add a conversion if the type is the same
// TODO: we could do a projection to convert between types in some cases
//sourceType :=
//targetType :=
//
//// enumtypes contain a map, which panics when == opeartor is used
//_, srcIsEnum := sourceType.(sql.EnumType)
//_, tarIsEnum := targetType.(sql.EnumType)
//if srcIsEnum && tarIsEnum {
// srcToTarget[srcIdx] = i
//} else if sourceType == targetType {
// srcToTarget[srcIdx] = i
//}
if srcSchema[srcIdx].Type.Equals(targetSchema[i].Type) {
srcToTarget[srcIdx] = i
}