Skip to content

Commit

Permalink
TEIID-4946 adding SUBSTRING_INDEX as a pushdown function
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Sep 6, 2017
1 parent 0fc2909 commit aea8420
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -120,6 +120,8 @@ public List<?> translate(Function function) {
convertModifier.addNumericBooleanConversions();
convertModifier.setWideningNumericImplicit(true);
registerFunctionModifier(SourceSystemFunctions.CONVERT, convertModifier);

addPushDownFunction("mysql", "SUBSTRING_INDEX", TypeFacility.RUNTIME_NAMES.STRING, TypeFacility.RUNTIME_NAMES.STRING, TypeFacility.RUNTIME_NAMES.STRING, TypeFacility.RUNTIME_NAMES.INTEGER); //$NON-NLS-1$ //$NON-NLS-2$
}

@Override
Expand Down

0 comments on commit aea8420

Please sign in to comment.