Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. @Override
  2. public FilterPushdownScubaSql visitCall(CallExpression node, Map<VariableReferenceExpression, ColumnHandle> context)
  3. {
  4. FunctionMetadata metadata = functionMetadataManager.getFunctionMetadata(node.getFunctionHandle());
  5. ImmutableList.Builder<FilterPushdownScubaSql> argumentSqls = ImmutableList.builder();
  6.  
  7. for (RowExpression expression : node.getArguments()) {
  8. FilterPushdownScubaSql sql = expression.accept(this, context);
  9. argumentSqls.add(sql);
  10. }
  11.  
  12. return functionTranslator.translate(metadata, argumentSqls.build());
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement