public void testBasicRead() throws Exception {
JavaSchemaRDD schemaRDD = artistsAsSchemaRDD();
assertTrue(schemaRDD.count() > 300);
schemaRDD.registerTempTable("datfile");
System.out.println(schemaRDD.schemaString());
assertEquals(5, schemaRDD.take(5).size());
JavaSchemaRDD results = sqc
.sql("SELECT name FROM datfile WHERE id >=1 AND id <=10");
assertEquals(10, schemaRDD.take(10).size());
}