I have two Pyarrow Tables and want to join both.
A.join(
right_table=B, keys="A_id", right_keys="B_id"
)
Now I got the following error:
{ArrowInvalid} Incompatible data types for corresponding join field keys: FieldRef.Name(A_id) of type int8 and FieldRef.Name(B_id) of type int16
What is the preferred way to solve this issue?
I did not find a way to cast one column to either int8 or int16 in pyarrow Table.
Thanks