Commits


João Pedro authored and Praveen committed f1a7b0d765a
ARROW-12205: [C++][Gandiva] Implement TO_TIME([number] seconds) and TO_TIMESTAMP([number] seconds) function ImpleImplement TO_TIME([number] seconds) and TO_TIMESTAMP([number] seconds) function Closes #9890 from jpedroantunes/feature/to-timestamp-function and squashes the following commits: 315a6db80 <Anthony Louis> Change return type of to_time functions 31fdbd2a0 <João Pedro> Correct values used on to time test ec3919f3c <João Pedro Antunes Ferreira> Correct comments on to_time test 7421142be <João Pedro> Apply corrections on to time tests to try to handle floating points 0df0a3b11 <João Pedro> Define input timestamp comments 805a2d909 <João Pedro> Apply corrections on to time tests to handle floating points 93f8ec536 <João Pedro> Correct dev lint options 4999fd534 <João Pedro> Correct dev lint options f117af642 <João Pedro> Add necessary static casts on tests a6a396e25 <João Pedro> Add case tests for to_timestamp with fractional parts de64aae49 <João Pedro> Add case tests for to_timestamp with fractional parts de93dc2da <João Pedro> Fix to time implementation to get the time of the day b44aea07f <João Pedro> Fix local lint errors 2013d44ae <João Pedro> Fix to time function to consider seconds as input 3af071893 <João Pedro> Change to time implementation to handle secs and not millis b5c6ca101 <João Pedro> Fix lint problems on time.cc file f904a3b56 <João Pedro> Fix tests for timestamp and time to not need casting f09022011 <João Pedro> Add tests for to timestamp function bf81503b8 <João Pedro> Add to_time definition for numeric types d9119eefb <João Pedro> Change definition of to_timestamp function to work for numeric types 33230ca78 <João Pedro> Remove unused function on time.cc b41c3c2bf <João Pedro> Add function registry for to_timestamp method b5a80edb5 <João Pedro> Add unit tests for to_timestamp method d26179ee3 <João Pedro> Add base declaration for to_timestamp for numeric in gandiva types.h d19f3f609 <João Pedro> Add base implementation for to_timestamp for numeric in gandiva Lead-authored-by: João Pedro <joaop@simbioseventures.com> Co-authored-by: João Pedro Antunes Ferreira <42006402+jpedroantunes@users.noreply.github.com> Co-authored-by: Anthony Louis <anthony@simbioseventures.com> Signed-off-by: Praveen <praveen@dremio.com>