ARROW-5889: [C++][Parquet] Add property to indicate origin from converted type to TimestampLogicalType

This patch:
 - adds a new boolean member isFromConvertedType() to the TimestampLogicalType class that is set to "true" if the LogicalType was created from a converted type of TIMESTAMP_MILLIS or TIMESTAMP_MICROS
- prevents writing the TimestampLogicalType in the Parquet schema if this new property is true
- changes the Arrow reader to ignore the isAdjustedToUTC() property of the TimestampLogicalType if the type annotation came from a converted type

Author: TP Boudreau <>

Closes #4856 from tpboudreau/ARROW-5889 and squashes the following commits:

458f06382 <TP Boudreau> Add property showing converted type origin to TimestampLogicalType
6 files changed
tree: 85a25c925abf232da374a17c4bcc1162c290dcdc
  1. .clang-format
  2. .clang-tidy
  3. .clang-tidy-ignore
  4. .dir-locals.el
  5. .dockerignore
  6. .gitattributes
  7. .github/
  8. .gitignore
  9. .gitmodules
  10. .hadolint.yaml
  11. .pre-commit-config.yaml
  12. .readthedocs.yml
  13. .travis.yml
  16. LICENSE.txt
  17. Makefile.docker
  18. NOTICE.txt
  20. appveyor.yml
  21. c_glib/
  22. ci/
  24. cpp/
  25. csharp/
  26. dev/
  27. docker-compose.yml
  28. docs/
  29. format/
  30. go/
  31. header
  32. integration/
  33. java/
  34. js/
  35. matlab/
  36. python/
  37. r/
  38. ruby/
  40. rust/
  41. site/

Apache Arrow

Build Status Coverage Status License Twitter Follow

Powering In-Memory Analytics

Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.

Major components of the project include:

Arrow is an Apache Software Foundation project. Learn more at

What's in the Arrow libraries?

The reference Arrow libraries contain a number of distinct software components:

  • Columnar vector and table-like containers (similar to data frames) supporting flat or nested types
  • Fast, language agnostic metadata messaging layer (using Google's Flatbuffers library)
  • Reference-counted off-heap buffer memory management, for zero-copy memory sharing and handling memory-mapped files
  • IO interfaces to local and remote filesystems
  • Self-describing binary wire formats (streaming and batch/file-like) for remote procedure calls (RPC) and interprocess communication (IPC)
  • Integration tests for verifying binary compatibility between the implementations (e.g. sending data from Java to C++)
  • Conversions to and from other in-memory data structures

How to Contribute

Please read our latest project contribution guide.

Getting involved

Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: