You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "Willem-J-an (via GitHub)" <gi...@apache.org> on 2026/03/10 17:02:40 UTC

[PR] fix: add nullability to struct type String() [arrow-go]

Willem-J-an opened a new pull request, #700:
URL: https://github.com/apache/arrow-go/pull/700

   ### Rationale for this change
   We frequently run into panic:
   panic: arrow/array: column "colName" type mismatch, got=.., want=...
   The got and want will be exactly the same schema, the only difference is in the nullability of certain struct fields. The only way to figure out which fields are the problem is to go through the debugger.
   
   The nullability is rendered for other types like map and list, so it seems like it should be there for struct as well.
   
   ### What changes are included in this PR?
   - Add nullable in String() representation of StructType
   - Corrected tests that were affected by this
     - Some were just adding nullable where it's now added to the string and it previously was not
     - Some appear to be actual fixes to the tests, where the schema's did not match, but that was not detected in the schema string comparison because nullability was not included for structtype.
   
   
   ### Are these changes tested?
   ran make test, didn't have the parquet test files, so didn't run those.
   
   ### Are there any user-facing changes?
   Yes, the String() representation for data types is user facing.
   


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: add nullability to struct type String() [arrow-go]

Posted by "Willem-J-an (via GitHub)" <gi...@apache.org>.
Willem-J-an commented on PR #700:
URL: https://github.com/apache/arrow-go/pull/700#issuecomment-4153422693

   @zeroshade can a patch release be done by any chance? 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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix: add nullability to struct type String() [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #700:
URL: https://github.com/apache/arrow-go/pull/700


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org