| 44 | } |
| 45 | |
| 46 | static void writeStringStreamToFile(ClientContext* context, const std::string& ssString, |
| 47 | const std::string& path) { |
| 48 | const auto fileInfo = VirtualFileSystem::GetUnsafe(*context)->openFile(path, |
| 49 | FileOpenFlags(FileFlags::WRITE | FileFlags::CREATE_IF_NOT_EXISTS), context); |
| 50 | fileInfo->writeFile(reinterpret_cast<const uint8_t*>(ssString.c_str()), ssString.size(), |
| 51 | 0 /* offset */); |
| 52 | } |
| 53 | |
| 54 | static std::string getTablePropertyDefinitions(const TableCatalogEntry* entry) { |
| 55 | std::string columns; |
no test coverage detected