Commits


Anthony Louis authored and Praveen committed 15137e2dba2
ARROW-7215: [C++][Gandiva] Implement castVARCHAR(numeric_type) functions This PR implements the castVARCHAR for numeric values inside the Gandiva. It replaces the logic of the https://github.com/apache/arrow/pull/8158 PR to change the function output to match the Java language patterns. Closes #9816 from anthonylouisbsb/feature/fix-castvarchar-to-match-java-impl and squashes the following commits: 7df55a58d <Anthony Louis> Apply formatting changes 7a724c0fd <Anthony Louis> Remove unnecessary macros 4fb8a7f44 <Anthony Louis> Refactor if chain e78705136 <Anthony Louis> Add test to infinity case b62b856a0 <Anthony Louis> Add comments for changes cec11bbf0 <Anthony Louis> Add tests to check Java compatibility 302139c78 <Anthony Louis> Add emit trailing point tests efb94b901 <Anthony Louis> Add -0.0 inside cast test 523e60a56 <Anthony Louis> Add custom constructor inside the class 34f2f926d <Anthony Louis> Add class to print in formatted way e244502b3 <Anthony Louis> Fix tests to consider java formatting 33bc5b2de <Projjal Chanda> added castvarchar(numeric_types) functions Lead-authored-by: Anthony Louis <anthony@simbioseventures.com> Co-authored-by: Projjal Chanda <iam@pchanda.com> Signed-off-by: Praveen <praveen@dremio.com>