if (SERDE_TO_FORMAT.containsKey(serializationLib)) {
format = SERDE_TO_FORMAT.get(serializationLib);
builder.format(format);
} 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.getSd().getLocation());
final FileSystem fs = fsForPath(conf, dataLocation);