Commits


Anthony Louis authored and Praveen committed 52d180d20b0
ARROW-12166: [C++][Gandiva] Implements CONVERT_TO(value, type) function Implements the CONVERT_TO function inside the Gandiva, which receives a value for a defined type and returns its bytes representation. The behavior is based on Apache Drill implementation: https://drill.apache.org/docs/data-type-conversion/#convert_to-and-convert_from Closes #9861 from anthonylouisbsb/feature/add-convert-to-function and squashes the following commits: 22d80a3a4 <Anthony Louis> Use capital letters in name 90e28236d <Anthony Louis> Change functions names and tests 3a88586ea <Anthony Louis> Change functions name f3e06d236 <Anthony Louis> Fix macros for bigendian tests c817a0501 <Anthony Louis> Fix function comment 80539816c <Anthony Louis> Add CONVERT_TO functions for big endian formats ad991a66f <Anthony Louis> Add tests for the convert_to functions 3b1bccabc <Anthony Louis> Add convert_toBOOLEAN_BYTE function 36b2458e4 <Anthony Louis> Add convert_toBIGINT function a17edda5e <Anthony Louis> Add convert_toTIME_EPOCH function 448ffcf06 <Anthony Louis> Add convert_toINT c7d0010c6 <Anthony Louis> Add convert_toDOUBLE function Authored-by: Anthony Louis <anthony@simbioseventures.com> Signed-off-by: Praveen <praveen@dremio.com>