I'm not sure I understand this. If you create a new CatalogChangeWork with adhoc DDL, CatalogChangeBytes will be null. If we are passing null to addDDLToCatalog, and it tries to create a new InMemoryJarFile, won't it fail?