Program: 33490
Project: 33490
Buggy source:
@Test public void selectPKEqualsFilter() throws ConnectorException {
  ClusterName clusterNodeName=getClusterName();
  System.out.println("String_Node_Str");
  insertRow(1,1,10,clusterNodeName,true);
  insertRow(2,1,9,clusterNodeName,true);
  insertRow(3,6,11,clusterNodeName,true);
  insertRow(4,7,11,clusterNodeName,true);
  refresh(CATALOG);
  LinkedList<LogicalWorkFlowCreator.ConnectorField> conectorList=new LinkedList();
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_1,COLUMN_1,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_2,COLUMN_2,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_3,COLUMN_3,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_AGE,COLUMN_AGE,ColumnType.INT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_MONEY,COLUMN_MONEY,ColumnType.INT));
  logicalWorkFlowCreator.addSelect(conectorList);
  LogicalWorkflow logicalPlan=logicalWorkFlowCreator.addDefaultColumns().addEqualFilter(COLUMN_AGE,1,false,true).getLogicalWorkflow();
  QueryResult queryResult=(QueryResult)connector.getQueryEngine().execute(logicalPlan);
  Set<Object> proveSet=createCellsResult(queryResult);
  assertEquals("String_Node_Str",2,queryResult.getResultSet().size());
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
}

Fixed version (ground truth):
@Test public void selectPKEqualsFilter() throws ConnectorException {
  ClusterName clusterNodeName=getClusterName();
  System.out.println("String_Node_Str");
  insertRow(1,1,10,clusterNodeName,true);
  insertRow(2,1,9,clusterNodeName,true);
  insertRow(3,6,11,clusterNodeName,true);
  insertRow(4,7,11,clusterNodeName,true);
  refresh(CATALOG);
  LinkedList<LogicalWorkFlowCreator.ConnectorField> conectorList=new LinkedList();
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_1,COLUMN_1,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_2,COLUMN_2,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_3,COLUMN_3,ColumnType.TEXT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_AGE,COLUMN_AGE,ColumnType.INT));
  conectorList.add(logicalWorkFlowCreator.createConnectorField(COLUMN_MONEY,COLUMN_MONEY,ColumnType.INT));
  logicalWorkFlowCreator.addSelect(conectorList);
  LogicalWorkflow logicalPlan=logicalWorkFlowCreator.addDefaultColumns().addEqualFilter(COLUMN_KEY,1,false,true).getLogicalWorkflow();
  QueryResult queryResult=(QueryResult)connector.getQueryEngine().execute(logicalPlan);
  Set<Object> proveSet=createCellsResult(queryResult);
  assertEquals("String_Node_Str",1,queryResult.getResultSet().size());
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
  assertTrue("String_Node_Str",proveSet.contains("String_Node_Str"));
}