public void testEsSchemaRDD2Read() throws Exception {
String target = "sparksql-test/scala-basic-write";
JavaSchemaRDD schemaRDD = JavaEsSparkSQL.esRDD(sqc, target);
assertTrue(schemaRDD.count() > 300);
String schema = schemaRDD.schemaString();
assertTrue(schema.contains("id: long"));
assertTrue(schema.contains("name: string"));
assertTrue(schema.contains("pictures: string"));
assertTrue(schema.contains("time: long"));
assertTrue(schema.contains("url: string"));