@Override
 public SubPlanBuilder visitMaterializeSample(MaterializeSampleNode node, Void context) {
   SubPlanBuilder current = node.getSource().accept(this, context);
   current.setRoot(
       new MaterializeSampleNode(node.getId(), current.getRoot(), node.getSampleWeightSymbol()));
   return current;
 }
示例#2
0
 @Override
 public Void visitMaterializeSample(MaterializeSampleNode node, Void context) {
   printNode(
       node,
       format("MaterializeSample[%s]", node.getSampleWeightSymbol()),
       NODE_COLORS.get(NodeType.MATERIALIZE_SAMPLE));
   return node.getSource().accept(this, context);
 }