Commits


Joris Van den Bossche authored and GitHub committed f2ce331d1df
GH-41884: [Python] Fix RecordBatchReader.cast to support casting to equal schema for all types (#42098) ### Rationale for this change The cast from `date32` to `date32` is not included in the table of cast functions. ### What changes are included in this PR? Ensure we don't error if the types are equal in the initialization of the `CastingRecordBatchReader` ### Are these changes tested? Yes ### Are there any user-facing changes? No * GitHub Issue: #41884 Lead-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Co-authored-by: Felipe Oliveira Carvalho <felipekde@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>