final String serializationLib = table.getSerializationLib();
if (SERDE_TO_FORMAT.containsKey(serializationLib)) {
builder.format(SERDE_TO_FORMAT.get(serializationLib));
} else {
// TODO: should this use an "unknown" format? others fail in open()
throw new UnknownFormatException(
"Unknown format for serde:" + serializationLib);
}
final Path dataLocation = new Path(table.getDataLocation());
final FileSystem fs = fsForPath(conf, dataLocation);