Commits


João Pedro authored and Praveen committed 304f202f8be
ARROW-12556: [C++][Gandiva] Implement BYTESUBSTRING function on Gandiva Implement BYTE_SUBSTR([string] giventext, [number] x, [number] y) Produces the binary representation of a string y characters long derived by starting at position x in the string giventext. y may also be given by the expression LENGTH(giventext), which indicates that you wish to convert every remaining character in giventext. Closes #10169 from jpedroantunes/feature/add-byte-substr-gandiva-functions and squashes the following commits: 9d7147c59 <João Pedro> Remove redundant empty line on the end of the file f2dcd8bff <João Pedro> Add missing comments and validate cases for negative values greater thant offset in module 7feec46ef <João Pedro> Change signature of byte_substr method to consider arguments de4e5b2e7 <João Pedro> Coorect identation for bytesubstr on projector test 47ae96dd1 <João Pedro> Correct BYTE_SUBSTR function to work for binary input and output values 7d29b1b34 <João Pedro> Add function registry for BYTE_SUBSTR string function fb0234e32 <João Pedro> Correct BYTE_SUBSTR function to work for binary input and output values 40f8f2a21 <João Pedro> Add projector test for BYTE_SUBSTR string function 32021858c <João Pedro> Add function registry for BYTE_SUBSTR string function 995f1f92c <João Pedro> Add base implementation and tests for BYTE_SUBSTR function considering string input values Authored-by: João Pedro <joaop@simbioseventures.com> Signed-off-by: Praveen <praveen@dremio.com>