Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Current instr() only supports two arguments:
instr(str, substr) - Returns the index of the first occurance of substr in str
Other systems (Vertica, Oracle, Impala etc) support additional position and occurrence arguments:
instr(str, substr[, pos[, occurrence]])
Oracle doc: https://docs.oracle.com/database/121/SQLRF/functions089.htm#SQLRF00651
It'd be nice to support this as well. Otherwise, it's a SQL difference between Impala and Hive.
Impala supports this in IMPALA-3973
Attachments
Issue Links
- links to