Leon-WTF opened a new pull request #2227: URL: https://github.com/apache/drill/pull/2227
# [DRILL-7928](https://issues.apache.org/jira/browse/DRILL-7928): Add fourth parameter for split_part udf ## Description Add the fourth parameter in split_part udf as end index: suport split_part('a,b,c,d', ',' , 1, 2) = 'a,b' Return all remaining string if end indx is greater then splitted string length ## Documentation string split_part(string input, string delimiter, bigint start, bigint end) ## Testing New test added in org.apache.drill.exec.expr.fn.impl.TestStringFunctions.testSplitPartStartEnd -- 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: [email protected]
