pitrou commented on code in PR #54691:
URL: https://github.com/apache/arrow/pull/54691#discussion_r4663855417
##########
python/pyarrow/_csv.pyx:
##########
@@ -588,12 +605,20 @@ cdef class ParseOptions(_Weakrefable):
def __getstate__(self):
return (self.delimiter, self.quote_char, self.double_quote,
self.escape_char, self.newlines_in_values,
- self.ignore_empty_lines, self.invalid_row_handler)
+ self.ignore_empty_lines, self.invalid_row_handler,
+ self.pad_short_rows)
def __setstate__(self, state):
- (self.delimiter, self.quote_char, self.double_quote,
- self.escape_char, self.newlines_in_values,
- self.ignore_empty_lines, self.invalid_row_handler) = state
+ if len(state) == 7:
Review Comment:
Thanks for asking @HuaHuaY ! No, we don't consider backward compatibility
here.
--
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]