| 46 | namespace { |
| 47 | |
| 48 | std::shared_ptr<PaimonColumnHandle> paimonColumnHandle( |
| 49 | const std::shared_ptr<ColumnHandle>& columnHandle, |
| 50 | const std::string& outputName) { |
| 51 | auto handle = std::dynamic_pointer_cast<PaimonColumnHandle>(columnHandle); |
| 52 | BOLT_CHECK_NOT_NULL( |
| 53 | handle, |
| 54 | "ColumnHandle must be an instance of PaimonColumnHandle for {}", |
| 55 | outputName); |
| 56 | return handle; |
| 57 | } |
| 58 | |
| 59 | std::shared_ptr<PaimonColumnHandle> findPaimonColumnHandle( |
| 60 | const std::unordered_map<std::string, std::shared_ptr<ColumnHandle>>& |
no outgoing calls
no test coverage detected