Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion to string may fail if the column is too big #1695

Closed
st-pasha opened this issue Mar 1, 2019 · 0 comments · Fixed by #1704
Closed

Conversion to string may fail if the column is too big #1695

st-pasha opened this issue Mar 1, 2019 · 0 comments · Fixed by #1704
Assignees
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Milestone

Comments

@st-pasha
Copy link
Contributor

st-pasha commented Mar 1, 2019

>>> DT = dt.Frame(range(300000000))
>>> DT[:, "A"] = dt.str32(f[0])
ValueError: The size of new_strbuf does not correspond to the last offset of new_offbuff: expected 2588888890, got 441405242

The total size of string data in the column exceeds int32, but the converter is not smart enough to automatically convert to str64.

@st-pasha st-pasha added the bug Any bugs / errors in datatable; however for severe bugs use [segfault] label label Mar 1, 2019
@st-pasha st-pasha added this to the Release 0.9.0 milestone Mar 1, 2019
@st-pasha st-pasha self-assigned this Mar 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Any bugs / errors in datatable; however for severe bugs use [segfault] label
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant