Skip to content

ARROW-736: [Python] Mixed-type object DataFrame columns should not silently co… - #465

Closed
cpcloud wants to merge 6 commits into
apache:masterfrom
cpcloud:ARROW-736
Closed

cpcloud wants to merge 6 commits into
apache:masterfrom
cpcloud:ARROW-736

Conversation

@cpcloud

@cpcloud cpcloud commented Mar 30, 2017

Copy link
Copy Markdown
Contributor

…erce to an Arrow type by default

@wesm

wesm commented Mar 30, 2017

Copy link
Copy Markdown
Member

needs rebase and cpplint fix

@cpcloud cpcloud changed the title ARROW-736: Mixed-type object DataFrame columns should not silently co… ARROW-736: [Python] Mixed-type object DataFrame columns should not silently co… Mar 31, 2017
Comment thread cpp/src/arrow/python/pandas_convert.cc Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yikes. Perhaps we should develop some tools to help with the Python C API in C++. I have tried to use the OwnedRef to handle RAII-based DECREF

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, I'll do that.

Comment thread cpp/src/arrow/python/pandas_convert.cc Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could try using the OwnedRef for these, save you a bunch of DECREFs per above

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put this in pandas-test and rename that test file to python-test.cc instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep.

@cpcloud

cpcloud commented Apr 1, 2017

Copy link
Copy Markdown
Contributor Author

@wesm good to merge? green builds :)

@wesm wesm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thank you!

@asfgit asfgit closed this in d75d7a9 Apr 1, 2017
wesm pushed a commit to wesm/arrow that referenced this pull request Sep 8, 2018
…types

Author: Deepak Majeti <deepak.majeti@hpe.com>

Closes apache#465 from majetideepak/PARQUET-979 and squashes the following commits:

3b18173 [Deepak Majeti] improve naming and ColumnProperties class
a888aa4 [Deepak Majeti] Add an option to specify max stats size
c103c4f [Deepak Majeti] make format
cf0260c [Deepak Majeti] PARQUET-979: [C++] Limit size of min, max or disable stats for long binary types

Change-Id: I2843608b1848b6d85ac226064dd4c5ec93e40f47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants