mirror of
https://github.com/apache/impala.git
synced 2025-12-21 19:08:12 -05:00
IMPALA-3973: add position and occurrence to instr()
Change-Id: Ie9648de458d243306fa14adc5e7f7002bf6f67fd Reviewed-on: http://gerrit.cloudera.org:8080/4094 Tested-by: Internal Jenkins Reviewed-by: Matthew Jacobs <mj@cloudera.com>
This commit is contained in:
committed by
Matthew Jacobs
parent
94fc6a3d07
commit
64ffbc4b51
@@ -431,6 +431,9 @@ visible_functions = [
|
||||
[['rtrim'], 'STRING', ['STRING'], 'impala::StringFunctions::Rtrim'],
|
||||
[['ascii'], 'INT', ['STRING'], 'impala::StringFunctions::Ascii'],
|
||||
[['instr'], 'INT', ['STRING', 'STRING'], 'impala::StringFunctions::Instr'],
|
||||
[['instr'], 'INT', ['STRING', 'STRING', 'BIGINT'], 'impala::StringFunctions::Instr'],
|
||||
[['instr'], 'INT', ['STRING', 'STRING', 'BIGINT', 'BIGINT'],
|
||||
'impala::StringFunctions::Instr'],
|
||||
[['locate'], 'INT', ['STRING', 'STRING'], 'impala::StringFunctions::Locate'],
|
||||
[['locate'], 'INT', ['STRING', 'STRING', 'BIGINT'],
|
||||
'impala::StringFunctions::LocatePos'],
|
||||
|
||||
Reference in New Issue
Block a user