Search in sources :

Example 1 with ServerMeta

use of org.apache.drill.exec.proto.UserProtos.ServerMeta in project drill by apache.

the class TestServerMetaProvider method testServerMeta.

@Test
public void testServerMeta() throws Exception {
    GetServerMetaResp resp = client.getServerMeta().get();
    assertNotNull(resp);
    assertEquals(RequestStatus.OK, resp.getStatus());
    assertNotNull(resp.getServerMeta());
    ServerMeta serverMeta = resp.getServerMeta();
    logger.trace("Server metadata: {}", serverMeta);
    assertEquals(Quoting.BACK_TICK.string, serverMeta.getIdentifierQuoteString());
}
Also used : ServerMeta(org.apache.drill.exec.proto.UserProtos.ServerMeta) GetServerMetaResp(org.apache.drill.exec.proto.UserProtos.GetServerMetaResp) Test(org.junit.Test)

Aggregations

GetServerMetaResp (org.apache.drill.exec.proto.UserProtos.GetServerMetaResp)1 ServerMeta (org.apache.drill.exec.proto.UserProtos.ServerMeta)1 Test (org.junit.Test)1