Skip to content

Conversation

@wesm
Copy link
Member

@wesm wesm commented Mar 22, 2017

Maintains existing Python behavior (datetime.date getting converted to milliseconds)

wesm added 2 commits March 22, 2017 00:07
…oundtrips, maintain existing Python behavior

Change-Id: I437fb6fdfef5d9d0bcd42b97a33e428706b7f11f
… older autoconf

Change-Id: I06915a8247e70b72a4ba48e46cac1b6709388bb1
@wesm
Copy link
Member Author

wesm commented Mar 22, 2017

@kou if you could look at the changes under c_glib and make sure this makes sense (per the ax_cxx_compile_stdcxx_11 issue)

@kou
Copy link
Member

kou commented Mar 22, 2017

You don't need to add c_glib/macros/*.m4. They are generated by autogen.sh.
configure.ac change isn't also needed.

I think that your autoconf-archive is old.

You can just add the following change for c_glib/arrow-glib/type.cpp:

-  case arrow::Type::type::DATE:
+  case arrow::Type::type::DATE32:

It will pass tests on Travis CI.

I'll add DATE64 support later.

@wesm
Copy link
Member Author

wesm commented Mar 22, 2017

OK, I'll remove them, I just wanted to check that I could compile arrow-glib locally

Change-Id: Ica64db5836606aa27999d017f834c269c88498bc
@wesm
Copy link
Member Author

wesm commented Mar 22, 2017

How do I update my autoconf-archive? From searching on the internet, this particular issue seems to occur quite frequently

@wesm
Copy link
Member Author

wesm commented Mar 22, 2017

apt-get install autoconf-archive seems to have solved the problem. I'm adding this to the README

Change-Id: Ibca96335d82534c63e425ac2cd148aa130c8528d
@wesm
Copy link
Member Author

wesm commented Mar 22, 2017

@xhochy this is ready to be merged -- I created PARQUET-919 for fixing parquet_arrow separately

@kou
Copy link
Member

kou commented Mar 22, 2017

apt-get install autoconf-archive seems to have solved the problem. I'm adding this to the README

Thanks!

Copy link
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

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

LGTM but there are two // TODO statements which may need addressing

Status Visit(const BinaryType& type) override { return WriteVarBytes("binary", type); }

Status Visit(const DateType& type) override { return WritePrimitive("date", type); }
// TODO
Copy link
Member

Choose a reason for hiding this comment

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

Is there still something to do here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Testing / metadata read/write for the JSON format -- ARROW-620

@asfgit asfgit closed this in 71424c2 Mar 22, 2017
@wesm wesm deleted the ARROW-683 branch March 22, 2017 18:04
wesm added a commit to wesm/arrow that referenced this pull request Sep 8, 2018
Author: Wes McKinney <wes.mckinney@twosigma.com>

Closes apache#418 from wesm/PARQUET-1164 and squashes the following commits:

ca18e60 [Wes McKinney] Bump Arrow version to include ARROW-1808
d580b4f [Wes McKinney] Refactor to account for ARROW-1808

Change-Id: I526e111b5c4b170b13c5a25aa9c9ff3685e2f5aa
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.

3 participants