Repository navigation
Conversation
…nter infinite loop Change-Id: I16a9d71002d1160d4cb795e2c4b27c3e6b9a4039
| data = pd.DataFrame([np.arange(4)], columns=['A', 'B', 'C', 'D']) | ||
| table = pa.Table.from_pandas(data.reset_index()) | ||
|
|
||
| buf = io.BytesIO() |
There was a problem hiding this comment.
What do you think about using -1 to mean min row group size and disallowing 0?
There was a problem hiding this comment.
i think the issue was the user did len(foo) / K and it truncated to zero. We could have it raise an exception instead
There was a problem hiding this comment.
Neither value makes sense logically, but -1 seems like a more obvious indicator that we're saying "do the default".
There was a problem hiding this comment.
Ah ok. Yeah I think raising an exception is probably the way to go here.
There was a problem hiding this comment.
chunk_size=None does the default also. I'll raise an exception for 0
There was a problem hiding this comment.
Yeah I saw that as well. I'm just going off intuition here, this shed is fully painted now 👍
Change-Id: I650a13ebcf93f4738ddfc825a2e110f41adee138
This should also be fixed in parquet-cpp, will open a JIRA.