[ https://issues.apache.org/jira/browse/HIVE-6986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Furcy Pin updated HIVE-6986: ---------------------------- Attachment: HIVE-6986.1.patch Please review, (this is my first time submitting a patch to an Apache Project) > MatchPath fails with small resultExprString > ------------------------------------------- > > Key: HIVE-6986 > URL: https://issues.apache.org/jira/browse/HIVE-6986 > Project: Hive > Issue Type: Bug > Components: UDF > Reporter: Furcy Pin > Priority: Trivial > Attachments: HIVE-6986.1.patch > > > When using MatchPath, a query like this: > select year > from matchpath(on > flights_tiny > sort by fl_num, year, month, day_of_month > arg1('LATE.LATE+'), > arg2('LATE'), arg3(arr_delay > 15), > arg4('year') > ) > ; > will fail with error message > "FAILED: StringIndexOutOfBoundsException String index out of range: 6" -- This message was sent by Atlassian JIRA (v6.2#6252)