kiszk commented on a change in pull request #7507: URL: https://github.com/apache/arrow/pull/7507#discussion_r522218040
########## File path: cpp/src/arrow/type.h ########## @@ -1604,13 +1605,26 @@ class ARROW_EXPORT FieldRef { // ---------------------------------------------------------------------- // Schema +enum class Endianness { + LITTLE = 0, + BIG = 1, +#if ARROW_LITTLE_ENDIAN + NATIVE = LITTLE +#else + NATIVE = BIG +#endif +}; Review comment: @pitrou I see. It will be another set of PRs. This PR will not address to add an endian field to `DataType`. After the set of PRs will be available, another PR for this feature will support endian fields in `DataType`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org