    @Test
    public void testDiscoverTablespaceFromUpdate() {

        String defaultTableSpace = TableSpace.DEFAULT;
        String theTableSpace = "myts";
        assertEquals(defaultTableSpace, QueryUtils.discoverTablespace(defaultTableSpace, "update test"));
        assertEquals(defaultTableSpace, QueryUtils.discoverTablespace(defaultTableSpace, ""));
        assertEquals(theTableSpace, QueryUtils.discoverTablespace(defaultTableSpace, "update myts.test set a='b'"));
        assertEquals(theTableSpace, QueryUtils.discoverTablespace(defaultTableSpace, "update myts.test"));
    }