Skip to content

Commit 2a71d1f

Browse files
committed
Fix for bug related to null settings parsing as ""
1 parent 114e971 commit 2a71d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extensions/SqlServer/Cosmos.DataTransfer.SqlServerExtension/ColumnMapping.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class ColumnMapping
1212

1313
public string? GetFieldName()
1414
{
15-
return SourceFieldName ?? ColumnName;
15+
return !string.IsNullOrEmpty(SourceFieldName) ? SourceFieldName : ColumnName;
1616
}
1717
}
1818
}

0 commit comments

Comments
 (0)