26 #include "gen-cpp/CalciteServer.h"
33 const std::string& tableName) {
34 const auto table_id = cat.
getTableId(tableName);
35 if (table_id.has_value()) {
39 throw std::runtime_error(
"Table/View " + tableName +
" for catalog " +
std::vector< int > ChunkKey
class for a per-database catalog. also includes metadata for the current database and the current use...
std::optional< int32_t > getTableId(const std::string &table_name) const
This file contains the class specification and related data structures for Catalog.
const DBMetadata & getCurrentDB() const
Checked json field retrieval.
ChunkKey chunk_key_for_table(const Catalog_Namespace::Catalog &cat, const std::string &tableName)