zixi-bwang commented on a change in pull request #11931:
URL: https://github.com/apache/arrow/pull/11931#discussion_r770066403



##########
File path: csharp/src/Apache.Arrow/Column.cs
##########
@@ -62,7 +62,7 @@ private bool ValidateArrayDataTypes()
         {
             for (int i = 0; i < Data.ArrayCount; i++)
             {
-                if (Data.Array(i).Data.DataType != Field.DataType)
+                if (Data.Array(i).Data.DataType.TypeId != 
Field.DataType.TypeId)

Review comment:
       Hi @HashidaTKS,
   
   Please review below updates:
   
   Added \src\Apache.Arrow\Arrays\ArrayDataTypeComparer.cs 
   Added unit testing to cover most of the code paths
   
   Thanks,




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to