if (tableDesStr == null) {
return null;
}
ByteArrayInputStream inputStream = new ByteArrayInputStream(tableDesStr.getBytes());
TIOStreamTransport transport = new TIOStreamTransport(inputStream);
TJSONProtocol protocol = new TJSONProtocol(transport);
TableDescriptor descriptor = new TableDescriptor();
try {
descriptor.read(protocol);
} catch (TException e) {
throw new IOException(e);