@Test
public void train() {

	try {
		NumSeqSourceBatchOp numSeqSourceBatchOp = new NumSeqSourceBatchOp(0, 1000, "col0");
		Pipeline pipeline = new Pipeline()
			.add(new QuantileDiscretizer()
				.setNumBuckets(2)
				.setSelectedCols(new String[] {"col0"})
				.enableLazyPrintModelInfo());
		List<Row> result = pipeline.fit(numSeqSourceBatchOp).transform(numSeqSourceBatchOp).collect();
	} catch (Exception ex) {
		Assert.fail("Should not throw exception here.");
	}
}