|  | @@ -36,7 +36,8 @@ public class SparkAdCTRSampleTester {
 | 
	
		
			
				|  |  |          System.out.println("Read odps table...");
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          JavaRDD<Record> readData = odpsOps.readTableWithJava(project, table, partition, new RecordsToSamples(), Integer.valueOf(30));
 | 
	
		
			
				|  |  | -        readData.filter(row -> row.get("type") != null).filter(row -> row.getString("type").equals("VlogAdCtrLRScorer"))
 | 
	
		
			
				|  |  | +        readData.filter(row -> row.get("type") != null)
 | 
	
		
			
				|  |  | +                .filter(row -> row.get("lrsample") != null)
 | 
	
		
			
				|  |  |                  .map(line -> singleParse(line))
 | 
	
		
			
				|  |  |                  .saveAsTextFile(hdfsPath);
 | 
	
		
			
				|  |  |      }
 |