HyukjinKwon commented on code in PR #59038:
URL: https://github.com/apache/spark/pull/59038#discussion_r4132445706
##########
python/pyspark/sql/types.py:
##########
@@ -2011,6 +2011,14 @@ def toInternal(self, obj: Tuple) -> Tuple:
for n, f, c in zip(self.names, self.fields,
self._needConversion)
)
elif isinstance(obj, (tuple, list)):
+ if len(obj) != len(self.fields):
Review Comment:
Can we at least write down the migration guide? e.g., users would need to
truncate their list to make this working as it was before.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]