OmniSciDB  06b3bd477c
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Logger.h File Reference
#include <boost/config.hpp>
#include <boost/filesystem.hpp>
#include <boost/log/common.hpp>
#include <boost/program_options.hpp>
#include <memory>
#include <set>
#include <array>
#include <sstream>
#include <thread>
+ Include dependency graph for Logger.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  logger::LogOptions
 
struct  logger::LogShutdown
 
class  logger::Logger
 
class  logger::DebugTimer
 

Namespaces

 logger
 

Macros

#define LOG(tag)
 
#define LOGGING(tag)   logger::fast_logging_check(logger::tag)
 
#define VLOGGING(n)   logger::fast_logging_check(logger::DEBUG##n)
 
#define CHECK(condition)
 
#define CHECK_OP(OP, x, y)
 
#define CHECK_EQ(x, y)   CHECK_OP(EQ, x, y)
 
#define CHECK_NE(x, y)   CHECK_OP(NE, x, y)
 
#define CHECK_LT(x, y)   CHECK_OP(LT, x, y)
 
#define CHECK_LE(x, y)   CHECK_OP(LE, x, y)
 
#define CHECK_GT(x, y)   CHECK_OP(GT, x, y)
 
#define CHECK_GE(x, y)   CHECK_OP(GE, x, y)
 
#define OMINSCI_CHECKOP_FUNCTION(name, op)
 
#define UNREACHABLE()   LOG(FATAL) << "UNREACHABLE "
 
#define LOG_IF(severity, condition)
 
#define VLOG(n)   LOG(DEBUG##n)
 
#define DEBUG_TIMER(name)   logger::DebugTimer(logger::INFO, __FILE__, __LINE__, name)
 
#define DEBUG_TIMER_NEW_THREAD(parent_thread_id)   logger::debug_timer_new_thread(parent_thread_id)
 

Typedefs

using logger::Channels = std::set< Channel >
 
using logger::FatalFunc = void(*)() noexcept
 
using logger::ChannelLogger = boost::log::sources::channel_logger_mt< Channel >
 
using logger::SeverityLogger = boost::log::sources::severity_logger_mt< Severity >
 
using logger::ThreadId = uint64_t
 

Enumerations

enum  logger::Channel { logger::IR = 0, logger::PTX, logger::_NCHANNELS }
 
enum  logger::Severity {
  logger::DEBUG4 = 0, logger::DEBUG3, logger::DEBUG2, logger::DEBUG1,
  logger::INFO, logger::WARNING, logger::ERROR, logger::FATAL,
  logger::_NSEVERITIES
}
 

Functions

void logger::init (LogOptions const &log_opts)
 
void logger::shutdown ()
 
void logger::set_once_fatal_func (FatalFunc fatal_func)
 
bool logger::fast_logging_check (Channel)
 
bool logger::fast_logging_check (Severity severity)
 
template<typename X , typename Y >
BOOST_NOINLINE std::string * logger::check_failed (X const &x, Y const &y, char const *xstr, char const *ystr, char const *op_str)
 
void logger::debug_timer_new_thread (ThreadId parent_thread_id)
 
ThreadId logger::thread_id ()
 

Variables

bool g_enable_debug_timer
 
constexpr std::array< char
const *, 2 > 
logger::ChannelNames {"IR", "PTX"}
 
constexpr std::array< char, 2 > logger::ChannelSymbols {'R', 'P'}
 
constexpr std::array< char
const *, 8 > 
logger::SeverityNames
 
constexpr std::array< char, 8 > logger::SeveritySymbols {'4', '3', '2', '1', 'I', 'W', 'E', 'F'}
 

Macro Definition Documentation

#define CHECK (   condition)
Value:
if (BOOST_UNLIKELY(!(condition))) \
LOG(FATAL) << "Check failed: " #condition " "
#define LOG(tag)
Definition: Logger.h:188

Definition at line 197 of file Logger.h.

#define CHECK_EQ (   x,
 
)    CHECK_OP(EQ, x, y)

Definition at line 205 of file Logger.h.

Referenced by anonymous_namespace{GroupByAndAggregate.cpp}::add_transient_string_literals_for_expression(), anonymous_namespace{RelAlgDagBuilder.cpp}::add_window_function_pre_project(), RowSetMemoryOwner::addStringDict(), RowSetMemoryOwner::addVarlenInputBuffer(), ThrustAllocator::allocate(), QueryMemoryInitializer::allocateCountDistinctBuffers(), ThrustAllocator::allocateScopedBuffer(), CudaAllocator::allocGpuAbstractBuffer(), Parser::InsertValuesStmt::analyze(), ArrowResultSetConverter::append(), ResultSet::append(), FixedLengthArrayNoneEncoder::appendData(), Chunk_NS::Chunk::appendData(), QueryMemoryInitializer::applyStreamingTopNOffsetCpu(), QueryMemoryInitializer::applyStreamingTopNOffsetGpu(), approximate_distinct_tuples(), approximate_distinct_tuples_overlaps(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), SpeculativeTopNMap::asRows(), QueryFragmentDescriptor::assignFragsToMultiDispatch(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_inputs(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_project_to_input(), anonymous_namespace{RelAlgDagBuilder.cpp}::bind_table_func_to_input(), ResultSetStorage::binSearchRowCount(), anonymous_namespace{ResultSetIteration.cpp}::build_array_target_value(), anonymous_namespace{FromTableReordering.cpp}::build_join_cost_graph(), anonymous_namespace{RelAlgExecutor.cpp}::build_render_targets(), anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value(), QueryFragmentDescriptor::buildMultifragKernelMap(), Executor::buildSelectedFragsMapping(), OverlapsJoinHashTable::calculateCounts(), anonymous_namespace{RelAlgExecutor.cpp}::check_sort_node_source_constraint(), anonymous_namespace{StringDictionary.cpp}::checked_munmap(), File_Namespace::close(), TargetExprCodegen::codegen(), InValuesBitmap::codegen(), CodeGenerator::codegen(), CodeGenerator::codegenAdd(), GroupByAndAggregate::codegenAggArg(), GroupByAndAggregate::codegenAggColumnPtr(), TargetExprCodegen::codegenAggregate(), CodeGenerator::codegenArith(), CodeGenerator::codegenArrayAt(), CodeGenerator::codegenCase(), CodeGenerator::codegenCast(), CodeGenerator::codegenCastFromString(), CodeGenerator::codegenCmp(), GroupByAndAggregate::codegenCountDistinct(), CodeGenerator::codegenDictLike(), CodeGenerator::codegenDictRegexp(), CodeGenerator::codegenDictStrCmp(), CodeGenerator::codegenDiv(), CodeGenerator::codegenFixedLengthColVar(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenFunctionOperWithCustomTypeHandling(), CodeGenerator::codegenGeoArgs(), GroupByAndAggregate::codegenGroupBy(), CodeGenerator::codegenHoistedConstants(), CodeGenerator::codegenHoistedConstantsLoads(), CodeGenerator::codegenHoistedConstantsPlaceholders(), OverlapsJoinHashTable::codegenKey(), BaselineJoinHashTable::codegenKey(), CodeGenerator::codegenLogical(), OverlapsJoinHashTable::codegenManyKey(), CodeGenerator::codegenMod(), CodeGenerator::codegenMul(), CodeGenerator::codegenOuterJoinNullPlaceholder(), GroupByAndAggregate::codegenOutputSlot(), CodeGenerator::codegenQualifierCmp(), CodeGenerator::codegenRowId(), TargetExprCodegenBuilder::codegenSingleSlotSampleExpression(), JoinHashTable::codegenSlot(), TargetExprCodegenBuilder::codegenSlotEmptyKey(), CodeGenerator::codegenSub(), CodeGenerator::codegenUMinus(), Executor::codegenWindowFunction(), Executor::codegenWindowFunctionAggregateCalls(), anonymous_namespace{RelLeftDeepInnerJoin.cpp}::collect_left_deep_join_inputs(), Executor::collectAllDeviceShardedTopResults(), ColSlotContext::ColSlotContext(), columnarize_result(), ColumnarResults::compactAndCopyEntries(), ColumnarResults::compactAndCopyEntriesWithoutTargetSkipping(), ColumnarResults::compactAndCopyEntriesWithTargetSkipping(), ScalarCodeGenerator::compile(), WindowFunctionContext::compute(), QueryFragmentDescriptor::computeAllTablesFragments(), OverlapsJoinHashTable::computeBucketInfo(), OverlapsJoinHashTable::computeBucketSizes(), WindowFunctionContext::computePartition(), RelAlgExecutor::computeWindow(), foreign_storage::csv_file_buffer_parser::convert_import_buffers_to_data_blocks(), StringValueConverter::convertToColumnarFormatFromDict(), copy_group_by_buffers_from_gpu(), StringDictionary::copyStrings(), count_distinct_set_union(), anonymous_namespace{RelAlgDagBuilder.cpp}::create_compound(), create_left_deep_join(), DBHandler::create_simple_result(), RelAlgExecutor::createAggregateWorkUnit(), RelAlgExecutor::createCompoundWorkUnit(), RelAlgExecutor::createFilterWorkUnit(), Catalog_Namespace::Catalog::createForeignServerNoLocks(), RelAlgExecutor::createTableFunctionWorkUnit(), RelAlgExecutor::createWindowFunctionContext(), CudaMgr_Namespace::CudaMgr::CudaMgr(), DatumToString(), ThrustAllocator::deallocate(), ArrowResultSet::deallocateArrowResultBuffer(), geospatial::decompress_coords< double, int32_t >(), geospatial::decompress_coords< double, SQLTypeInfo >(), Parser::InsertValuesStmt::determineLeafIndex(), device_allocator_(), details::RelAlgDispatcher::dispatchAggregate(), details::RelAlgDispatcher::dispatchFilter(), details::RelAlgDispatcher::dispatchJoin(), details::RelAlgDispatcher::dispatchLogicalValues(), details::RelAlgDispatcher::dispatchModify(), details::RelAlgDispatcher::dispatchProject(), details::RelAlgDispatcher::dispatchSort(), details::RelAlgDispatcher::dispatchTableFunction(), import_export::anonymous_namespace{Importer.cpp}::double_value_at(), ResultSet::dropFirstN(), Catalog_Namespace::Catalog::dropForeignServer(), Catalog_Namespace::Catalog::dropFsiSchemasAndTables(), eliminate_identical_copy(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_aggregate_one_count(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_aggregate_one_nullable_value(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_aggregate_one_value(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_checked_write_projection(), anonymous_namespace{JoinLoopTest.cpp}::emit_external_call(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_write_projection(), TableFunctionExecutionContext::execute(), RelAlgExecutor::executeDelete(), RelAlgExecutor::executeLogicalValues(), Executor::executePlanWithoutGroupBy(), RelAlgExecutor::executeProject(), RelAlgExecutor::executeRelAlgQuerySingleStep(), RelAlgExecutor::executeSimpleInsert(), RelAlgExecutor::executeSort(), Executor::executeTableFunction(), RelAlgExecutor::executeUpdate(), Executor::executeUpdate(), RelAlgExecutor::executeWorkUnit(), Executor::executeWorkUnitPerFragment(), import_export::QueryExporterCSV::exportResults(), anonymous_namespace{GroupByAndAggregate.cpp}::expr_is_rowid(), extract_from_datum(), Executor::fetchChunks(), Executor::fetchUnionChunks(), anonymous_namespace{StringDictionary.cpp}::file_size(), anonymous_namespace{RelAlgTranslator.cpp}::fill_dictionary_encoded_in_vals(), ResultSetStorage::fillOneEntryColWise(), ResultSetStorage::fillOneEntryRowWise(), CodeGenerator::NullCheckCodegen::finalize(), find_push_down_filters(), import_export::anonymous_namespace{Importer.cpp}::float_value_at(), fold_filters(), anonymous_namespace{JoinLoopTest.cpp}::generate_descriptors(), TableFunctionCompilationContext::generateEntryPoint(), TableFunctionCompilationContext::generateGpuKernel(), JoinHashTable::genHashTableKey(), anonymous_namespace{RelAlgExecutor.cpp}::get_bitwise_equals(), anonymous_namespace{JoinHashTable.cpp}::get_bucketized_hash_entry_info(), get_col_byte_widths(), anonymous_namespace{ColumnIR.cpp}::get_col_decoder(), anonymous_namespace{QueryMemoryInitializer.cpp}::get_col_frag_offsets(), get_column_type(), get_compact_type(), anonymous_namespace{QueryMemoryInitializer.cpp}::get_consistent_frags_sizes(), import_export::Loader::get_data_block_pointers(), anonymous_namespace{RelAlgExecutor.cpp}::get_data_sink(), anonymous_namespace{RelAlgDagBuilder.cpp}::get_equiv_cols(), anonymous_namespace{RelAlgOptimizer.cpp}::get_field_name(), anonymous_namespace{JoinHashTable.cpp}::get_hash_entry_count(), anonymous_namespace{RelAlgDagBuilder.cpp}::get_int_literal_field(), anonymous_namespace{RelAlgExecutor.cpp}::get_join_source_used_inputs(), anonymous_namespace{WindowContext.cpp}::get_lag_or_lead_argument(), anonymous_namespace{RelAlgOptimizer.cpp}::get_live_ins(), get_node_output(), anonymous_namespace{ExternalExecutor.cpp}::get_num_rows(), anonymous_namespace{RelAlgTranslator.cpp}::get_quantified_rhs(), anonymous_namespace{ResultSetReduction.cpp}::get_row_qw_count(), get_target_info(), anonymous_namespace{RelAlgExecutor.cpp}::get_used_inputs(), ArrowResultSetConverter::getArrowBatch(), Chunk_NS::Chunk::getChunkBuffer(), QueryMemoryDescriptor::getColOffInBytes(), QueryMemoryDescriptor::getColOffInBytesInNextBin(), ResultSet::getColumnFrag(), ResultSet::RowWiseTargetAccessor::getColumnInternal(), ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), ColSlotContext::getCompactByteWidth(), getExpressionRange(), RelAlgExecutor::getFilteredCountAll(), RelAlgExecutor::getFilterSelectivity(), JoinHashTable::getHashJoinArgs(), RelAlgTranslator::getInIntegerSetExpr(), Executor::getInnerTabIdToJoinCond(), OverlapsJoinHashTable::getInstance(), JoinHashTable::getInstance(), JoinHashTableInterface::getInstance(), BaselineJoinHashTable::getKeyComponentWidth(), getLeafColumnRange(), QueryMemoryDescriptor::getNextColOffInBytes(), ResultSet::getNextRowImpl(), QueryMemoryInitializer::getNumBuffers(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), Fragmenter_Namespace::FragmentInfo::getNumTuples(), ColumnFetcher::getOneTableColumnFragment(), StringDictionary::getOrAdd(), CgenState::getOrAddLiteral(), Executor::getRowCountAndOffsetForAllFrags(), QueryExecutionContext::getRowSet(), QueryMemoryDescriptor::getSlotIndexForSingleSlotCol(), Executor::getStringDictionaryProxy(), anonymous_namespace{RelAlgDagBuilder.cpp}::getTableFromScanNode(), RelAlgExecutor::handleNop(), CodeGenerator::hashJoinLhsTuple(), StringDictionary::hashStrings(), import_export::Importer::importGDAL(), File_Namespace::FileMgr::init(), QueryMemoryInitializer::initColumnPerRow(), Chunk_NS::Chunk::initEncoder(), BaselineJoinHashTable::initHashTableForDevice(), OverlapsJoinHashTable::initHashTableOnGpu(), ResultSet::RowWiseTargetAccessor::initializeOffsetsForStorage(), ResultSet::ColumnWiseTargetAccessor::initializeOffsetsForStorage(), ResultSetStorage::initializeRowWise(), JoinHashTable::initOneToManyHashTable(), JoinHashTable::initOneToManyHashTableOnCpu(), JoinHashTable::initOneToOneHashTable(), JoinHashTable::initOneToOneHashTableOnCpu(), ColumnarResults::initReadFunctions(), inline_fixed_encoding_null_array_val(), inline_fixed_encoding_null_val(), inline_int_null_array_val(), inline_int_null_val(), CgenState::inlineIntMaxMin(), inplace_sort_gpu(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), DBHandler::insert_data(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_geo_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), Catalog_Namespace::Catalog::instantiateFragmenter(), import_export::anonymous_namespace{Importer.cpp}::int_value_at(), Executor::interrupt(), InValuesBitmap::InValuesBitmap(), anonymous_namespace{RelAlgOptimizer.cpp}::is_distinct(), FixedLengthArrayNoneEncoder::is_null(), geospatial::is_null_point(), anonymous_namespace{QueryFragmentDescriptor.cpp}::is_sample_query(), anonymous_namespace{RelAlgDagBuilder.cpp}::anonymous_namespace{RelAlgDagBuilder.cpp}::is_window_function_operator(), RelProject::isIdentity(), anonymous_namespace{RelAlgDagBuilder.cpp}::isRenamedInput(), RelProject::isRenaming(), RelAlgExecutor::isRowidLookup(), JoinLoop::JoinLoop(), ResultSet::keepFirstN(), QueryExecutionContext::launchCpuCode(), TableFunctionExecutionContext::launchGpuCode(), QueryExecutionContext::launchGpuCode(), lazy_decode(), ColumnarResults::locateAndCountEntries(), anonymous_namespace{CompareIR.cpp}::lower_multicol_compare(), anonymous_namespace{EquiJoinCondition.cpp}::make_composite_equals_impl(), ResultSet::makeGeoTargetValue(), ResultSet::makeTargetValue(), ResultSet::makeVarlenTargetValue(), anonymous_namespace{RelAlgOptimizer.cpp}::mark_live_columns(), anonymous_namespace{RelAlgDagBuilder.cpp}::mark_nops(), ColumnarResults::materializeAllLazyColumns(), ColumnarResults::mergeResults(), Executor::needFetchAllFragments(), needs_dictionary_translation(), normalize_column_pairs(), File_Namespace::FileInfo::openExistingFile(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), foreign_storage::parse_file_regions(), partial_bitmap_union(), QueryMemoryDescriptor::pick_target_compact_width(), File_Namespace::MultiPage::pop(), pop_n_rows_from_merged_heaps_gpu(), foreign_storage::CsvDataWrapper::populateMetadataForChunkKeyPrefix(), details::RelAlgDispatcher::prev(), File_Namespace::MultiPage::push(), QueryFragmentDescriptor::QueryFragmentDescriptor(), ResultSet::radixSortOnCpu(), DummyPersistentForeignStorage::read(), ArrowCsvForeignStorage::read(), ForeignStorageBuffer::read(), File_Namespace::read(), TableOptimizer::recomputeMetadata(), ResultSetStorage::reduce(), ResultSetManager::reduce(), ResultSetReductionJIT::reduceOneAggregateSlot(), ResultSetStorage::reduceOneSlot(), ResultSetStorage::reduceSingleRow(), Executor::reduceSpeculativeTopN(), BaselineJoinHashTable::reify(), RelCompound::RelCompound(), RelLogicalUnion::RelLogicalUnion(), anonymous_namespace{DateTimePlusRewrite.cpp}::remove_truncate_int(), Catalog_Namespace::Catalog::removeTableFromMap(), ArrowResultSet::resultSetArrowLoopback(), rewrite_avg_window(), rewrite_to_date_trunc(), QueryRewriter::rewriteColumnarDelete(), QueryRewriter::rewriteColumnarUpdate(), RexLiteral::RexLiteral(), SqliteMemDatabase::run(), details::RelAlgDispatcher::run(), QueryRunner::QueryRunner::runDDLStatement(), ExecutionKernel::runImpl(), QueryRunner::QueryRunner::runMultipleStatements(), SqliteMemDatabase::runSelect(), QueryRunner::QueryRunner::runSQL(), anonymous_namespace{RelAlgDagBuilder.cpp}::separate_window_function_expressions(), Executor::serializeLiterals(), RexSubQuery::setExecutionResult(), Catalog_Namespace::Catalog::setForeignServerProperty(), RelCompound::setScalarSources(), sink_projected_boolean_expr_to_join(), Executor::skipFragmentPair(), ResultSet::sort(), SpeculativeTopNMap::SpeculativeTopNMap(), SqliteMemDatabase::SqliteMemDatabase(), RaExecutionSequence::stepsToNextBroadcast(), StringDictionary::StringDictionary(), ResultSet::syncEstimatorBuffer(), RelAlgTranslator::translateAbs(), RelAlgTranslator::translateBinaryGeoFunction(), RelAlgTranslator::translateDateadd(), RelAlgTranslator::translateDatediff(), RelAlgTranslator::translateDatepart(), RelAlgTranslator::translateDatetime(), RelAlgTranslator::translateExtract(), RelAlgTranslator::translateFunction(), RelAlgTranslator::translateFunctionWithGeoArg(), RelAlgTranslator::translateGeoFunctionArg(), RelAlgTranslator::translateGeoOverlapsOper(), RelAlgTranslator::translateHPTLiteral(), RelAlgTranslator::translateInOper(), RelAlgTranslator::translateInput(), RelAlgTranslator::translateItem(), RelAlgTranslator::translateKeyForString(), RelAlgTranslator::translateLength(), RelAlgTranslator::translateLower(), RelAlgTranslator::translateSampleRatio(), RelAlgTranslator::translateScalarSubquery(), RelAlgTranslator::translateSign(), RelAlgTranslator::translateTernaryGeoFunction(), RelAlgTranslator::translateUnaryGeoFunction(), RelAlgTranslator::translateUoper(), geospatial::unpack_geo_vector(), geospatial::unpack_geo_vector< int32_t >(), Executor::unregisterActiveModule(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), StringDictionaryProxy::updateGeneration(), DBHandler::value_to_thrift(), DBHandler::value_to_thrift_column(), ScalarExprToSql::visitFunctionOper(), anonymous_namespace{RelAlgOptimizer.cpp}::RexProjectInputRedirector::visitInput(), anonymous_namespace{RelAlgOptimizer.cpp}::RexInputCollector::visitInput(), anonymous_namespace{RelAlgOptimizer.cpp}::RexInputSinker::visitInput(), anonymous_namespace{RelAlgOptimizer.cpp}::RexInputRedirector::visitInput(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitOperator(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitSort(), anonymous_namespace{ExpressionRewrite.cpp}::ConstantFoldingVisitor::visitUOper(), ScalarExprToSql::visitWindowFunction(), anonymous_namespace{WindowExpressionRewrite.cpp}::window_sum_and_count_match(), StorageIOFacility< EXECUTOR_TRAITS, FRAGMENT_UPDATER >::yieldDeleteCallback(), StorageIOFacility< EXECUTOR_TRAITS, FRAGMENT_UPDATER >::yieldUpdateCallback(), InValuesBitmap::~InValuesBitmap(), SqliteMemDatabase::~SqliteMemDatabase(), and ThrustAllocator::~ThrustAllocator().

#define CHECK_GE (   x,
 
)    CHECK_OP(GE, x, y)

Definition at line 210 of file Logger.h.

Referenced by Catalog_Namespace::Catalog::addReferenceToForeignDict(), ColSlotContext::alignPaddedSlots(), QueryMemoryInitializer::allocateCountDistinctBuffers(), DateDaysEncoder< T, V >::appendData(), FixedLengthEncoder< T, V >::appendData(), NoneEncoder< T >::appendData(), StringNoneEncoder::appendData(), anonymous_namespace{FromTableReordering.cpp}::build_join_cost_graph(), QueryFragmentDescriptor::buildFragmentPerKernelForTable(), StringDictionary::checkAndConditionallyIncreaseOffsetCapacity(), StringDictionary::checkAndConditionallyIncreasePayloadCapacity(), QueryFragmentDescriptor::checkDeviceMemoryUsage(), anonymous_namespace{RelAlgDagBuilder.cpp}::coalesce_nodes(), TargetExprCodegen::codegen(), TargetExprCodegen::codegenAggregate(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenHoistedConstants(), GpuSharedMemCodeBuilder::codegenInitialization(), TargetExprCodegenBuilder::codegenMultiSlotSampleExpressions(), GroupByAndAggregate::codegenOutputSlot(), CodeGenerator::colByteStream(), count_distinct_set_union(), count_matches_impl(), count_matches_sharded(), anonymous_namespace{RelAlgDagBuilder.cpp}::create_compound(), create_left_deep_join(), Executor::createKernels(), anonymous_namespace{RelAlgExecutor.cpp}::decide_approx_count_distinct_implementation(), device_allocator_(), details::RelAlgDispatcher::dispatchTableFunction(), Catalog_Namespace::Catalog::doTruncateTable(), Fragmenter_Namespace::InsertOrderFragmenter::dropFragmentsToSize(), TableFunctionExecutionContext::execute(), RelAlgExecutor::executeLogicalValues(), fill_hash_join_buff_impl(), fill_hash_join_buff_sharded_impl(), fill_row_ids_impl(), fill_row_ids_sharded_impl(), find_push_down_filters(), CodeGenerator::foundOuterJoinMatch(), anonymous_namespace{RelAlgExecutor.cpp}::get_bitwise_equals_conjunction(), get_frag_count_of_table(), anonymous_namespace{ResultSetIteration.cpp}::get_frag_id_and_local_idx(), anonymous_namespace{RelAlgExecutor.cpp}::get_join_source_used_inputs(), anonymous_namespace{RelAlgExecutor.cpp}::get_used_inputs(), ColSlotContext::getAlignedPaddedSizeForRange(), ColSlotContext::getAllSlotsPaddedSize(), BaselineJoinHashTable::getApproximateTupleCountFromCache(), ArrowResultSetConverter::getArrowResult(), QueryMemoryDescriptor::getBufferSizeBytes(), GroupByAndAggregate::getColRangeInfo(), ResultSet::getColumnFrag(), ResultSet::RowWiseTargetAccessor::getColumnInternal(), ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), ColumnarResults::getColumnType(), StringDictionaryProxy::getCompare(), getExpressionRange(), RelAlgExecutor::getFilteredCountAll(), StringDictionaryProxy::getIdOfString(), RelAlgTranslator::getInIntegerSetExpr(), StringDictionaryProxy::getLike(), StringDictionaryProxy::getOrAddTransient(), RelLeftDeepInnerJoin::getOuterCondition(), StringDictionaryProxy::getRegexpLike(), ColumnFetcher::getResultSetColumn(), StringDictionary::getStringFromStorage(), ResultSet::getSupportedSingleSlotTargetBitmap(), ResultSet::getTargetValueFromBufferColwise(), ColSlotContext::getTotalBytesOfColumnarBuffers(), GroupByAndAggregate::gpuCanHandleOrderEntries(), Executor::groupByColumnCodegen(), anonymous_namespace{RelAlgDagBuilder.cpp}::indices_from_json_array(), GroupByAndAggregate::initCountDistinctDescriptors(), JoinHashTable::initHashTableOnCpuFromCache(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_array_column(), import_export::anonymous_namespace{QueryExporterGDAL.cpp}::insert_scalar_column(), Executor::interrupt(), ResultSetReductionJIT::isEmpty(), ResultSetStorage::isEmptyEntry(), ResultSetStorage::isEmptyEntryColumnar(), anonymous_namespace{RelAlgDagBuilder.cpp}::isRenamedInput(), anonymous_namespace{RelAlgExecutor.cpp}::left_deep_join_types(), ResultSet::makeTargetValue(), ResultSet::makeVarlenTargetValue(), only_shards_for_device(), File_Namespace::FileInfo::openExistingFile(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), anonymous_namespace{RelAlgDagBuilder.cpp}::parse_case(), anonymous_namespace{RelAlgDagBuilder.cpp}::parse_subquery(), WindowFunctionContext::partitionCount(), JoinHashTable::putHashTableOnCpuToCache(), BaselineJoinHashTable::putHashTableOnCpuToCache(), QueryMemoryInitializer::QueryMemoryInitializer(), ArrowCsvForeignStorage::read(), Buffer_Namespace::CpuBuffer::readData(), TableOptimizer::recomputeMetadata(), ResultSetStorage::reduce(), ResultSetStorage::reduceSingleRow(), OverlapsJoinHashTable::reifyWithLayout(), lockmgr::MutexTracker::release(), Catalog_Namespace::Catalog::removeTableFromMap(), CodeGenerator::resolveGroupedColumnReference(), Executor::resultsUnion(), anonymous_namespace{RelAlgExecutor.cpp}::reverse_logical_distribution(), rewrite_overlaps_conjunction(), anonymous_namespace{RelAlgExecutor.cpp}::rex_to_conjunctive_form(), ResultSet::rowCount(), ExecutionKernel::runImpl(), import_export::RenderGroupAnalyzer::seedFromExistingTableContents(), HashTypeCache::set(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), anonymous_namespace{RelAlgExecutor.cpp}::synthesize_inputs(), anonymous_namespace{RelAlgExecutor.cpp}::translate_targets(), RelAlgTranslator::translateGeoColumn(), RelAlgTranslator::translateInput(), RelAlgTranslator::translateWindowFunction(), truncate_to_generation(), ColSlotContext::validate(), JoinTargetRebaser::visitInput(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RelAlgPhysicalInputsVisitor::visitLeftDeepInnerJoin(), Buffer_Namespace::GpuCudaBuffer::writeData(), Buffer_Namespace::CpuBuffer::writeData(), and StringDictionary::~StringDictionary().

#define CHECK_GT (   x,
 
)    CHECK_OP(GT, x, y)

Definition at line 209 of file Logger.h.

Referenced by anonymous_namespace{RelAlgOptimizer.cpp}::add_new_indices_for(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::BaselineJoinHashTable(), QueryFragmentDescriptor::buildFragmentPerKernelForTable(), GroupByAndAggregate::codegenPerfectHashFunction(), StringDictionary::copyStrings(), count_distinct_set_size(), create_dev_group_by_buffers(), Executor::createKernels(), RelAlgExecutor::createSortInputWorkUnit(), RelAlgExecutor::createTableFunctionWorkUnit(), Catalog_Namespace::Catalog::delDictionary(), import_export::Loader::distributeToShards(), anonymous_namespace{ExtensionFunctionsWhitelist.cpp}::drop_suffix(), Fragmenter_Namespace::InsertOrderFragmenter::dropFragmentsToSize(), Executor::executeUpdate(), RelAlgExecutor::executeWorkUnit(), fill_one_to_many_baseline_hash_table(), fill_one_to_many_hash_table_impl(), fill_one_to_many_hash_table_sharded_impl(), find_string_literals(), get_available_gpus(), anonymous_namespace{JoinHashTable.cpp}::get_bucketized_hash_entry_info(), get_column_descriptor(), get_entries_per_device(), anonymous_namespace{RelAlgExecutor.cpp}::get_join_source_used_inputs(), ColSlotContext::getCompactByteWidth(), StringDictionary::getEquals(), Geo_namespace::GeoTypesFactory::getGeoColumnsImpl(), JoinHashTableInterface::getInstance(), getLeafColumnRange(), StringDictionary::getLike(), HashEntryInfo::getNormalizedHashEntryCount(), ColumnFetcher::getOneTableColumnFragment(), StringDictionary::getRegexpLike(), GroupByAndAggregate::getShardedTopBucket(), init_agg_val_vec(), JoinHashTable::initOneToManyHashTable(), JoinHashTable::initOneToOneHashTable(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), JoinHashTable::JoinHashTable(), anonymous_namespace{CompareIR.cpp}::lower_multicol_compare(), ColumnFetcher::makeJoinColumn(), ResultSet::makeVarlenTargetValue(), mapd_root_abs_path(), ResultSetStorage::moveEntriesToBuffer(), anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::RebindRexInputsFromLeftDeepJoin(), ResultSetStorage::reduce(), ResultSetStorage::rewriteAggregateBufferOffsets(), ExecutionKernel::runImpl(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), RelAlgTranslator::translateBinaryGeoFunction(), RelAlgTranslator::translateGeoOverlapsOper(), RelAlgTranslator::translateOper(), anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitInput(), and Buffer_Namespace::Buffer::write().

#define CHECK_LE (   x,
 
)    CHECK_OP(LE, x, y)

Definition at line 208 of file Logger.h.

Referenced by CodeGenerator::codegenFunctionOperCastArgs(), Executor::collectAllDeviceShardedTopResults(), StringDictionary::copyStrings(), anonymous_namespace{RelAlgDagBuilder.cpp}::create_compound(), create_dev_group_by_buffers(), anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer(), CudaMgr_Namespace::CudaMgr::CudaMgr(), DatumToString(), import_export::Loader::distributeToShards(), Executor::fetchUnionChunks(), CodeGenerator::foundOuterJoinMatch(), ResultSet::getColumnFrag(), StringDictionary::getEquals(), StringDictionary::getLike(), ResultSet::getNDVEstimator(), RelLeftDeepInnerJoin::getOuterCondition(), StringDictionary::getRegexpLike(), StringDictionary::getStringBytes(), Executor::getStringDictionaryProxy(), GroupByAndAggregate::gpuCanHandleOrderEntries(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), JoinColumnTupleIterator::JoinColumnTupleIterator(), CodeGenerator::resolveGroupedColumnReference(), Executor::serializeLiterals(), anonymous_namespace{RelAlgExecutor.cpp}::synthesize_inputs(), JoinHashTableInterface::toSet(), anonymous_namespace{RelAlgExecutor.cpp}::translate_targets(), RelAlgTranslator::translateAggregateRex(), RelAlgTranslator::translateInput(), RelAlgExecutor::translateLeftDeepJoinFilter(), anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n(), ColSlotContext::validate(), anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::visitInput(), and anonymous_namespace{ExternalExecutor.cpp}::vt_column().

#define CHECK_LT (   x,
 
)    CHECK_OP(LT, x, y)

Definition at line 207 of file Logger.h.

Referenced by ColSlotContext::addSlotForColumn(), RelAlgExecutor::addTemporaryTable(), anonymous_namespace{ResultSetIteration.cpp}::advance_col_buff_to_slot(), Data_Namespace::DataMgr::alloc(), QueryMemoryInitializer::allocateCountDistinctBuffers(), Executor::buildIsDeletedCb(), Executor::buildJoinLoops(), Executor::buildSelectedFragsMapping(), Executor::buildSelectedFragsMappingForUnion(), Executor::castToIntPtrTyIn(), ScalarCodeGenerator::codegenColumn(), CodeGenerator::codegenColVar(), JoinHashTable::codegenHashTableLoad(), TargetExprCodegenBuilder::codegenMultiSlotSampleExpressions(), GroupByAndAggregate::codegenOutputSlot(), CodeGenerator::codgenAdjustFixedEncNull(), anonymous_namespace{InputMetadata.cpp}::collect_table_infos(), compact_init_vals(), ScalarCodeGenerator::compile(), compress_reference_path(), copy_group_by_buffers_from_gpu(), ResultSet::copyColumnIntoBuffer(), anonymous_namespace{RelAlgDagBuilder.cpp}::create_compound(), DatumToString(), anonymous_namespace{RelAlgDagBuilder.cpp}::disambiguate_rex(), import_export::Loader::distributeToShards(), Executor::fetchChunks(), Executor::fetchUnionChunks(), find_push_down_filters(), ColumnBitmap::get(), anonymous_namespace{QueryMemoryInitializer.cpp}::get_col_frag_offsets(), anonymous_namespace{RelAlgOptimizer.cpp}::get_field_name(), anonymous_namespace{ResultSetIteration.cpp}::get_frag_id_and_local_idx(), anonymous_namespace{RelAlgOptimizer.cpp}::get_live_ins(), anonymous_namespace{ExternalExecutor.cpp}::get_scan_output_slot(), get_temporary_table(), SQLTypeInfo::get_type_name(), GroupByAndAggregate::getAdditionalLiteral(), QueryMemoryInitializer::getAggInitValForIndex(), RelAlgNode::getAndOwnInput(), Analyzer::FunctionOper::getArg(), BaselineJoinHashTable::getCachedHashTable(), JoinHashTable::getCachedHashTable(), Data_Namespace::DataMgr::getChunkBuffer(), RelSort::getCollation(), ColSlotContext::getColOnlyOffInBytes(), ArrowResultSet::getColType(), ResultSet::getColType(), ResultSet::getColumnFrag(), ResultSet::RowWiseTargetAccessor::getColumnInternal(), ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), ColumnarResults::getColumnType(), QueryMemoryDescriptor::getCountDistinctDescriptor(), RaExecutionSequence::getDescriptor(), Analyzer::ArrayExpr::getElement(), BaselineJoinHashTable::getEntryCntCachedHashTable(), getExpressionRange(), RelTableFunction::getFieldName(), RelAlgNode::getInput(), table_functions::TableFunction::getInputSQLType(), BaselineJoinHashTable::getJoinHashBuffer(), JoinHashTable::getJoinHashBuffer(), BaselineJoinHashTable::getJoinHashBufferSize(), JoinHashTable::getJoinHashBufferSize(), GpuCompilationContext::getNativeCode(), ArrowResultSet::getNextRow(), StringDictionary::getOrAddBulk(), StringDictionary::getOrAddBulkParallel(), StringDictionary::getOrAddImpl(), table_functions::TableFunction::getOutputSQLType(), Analyzer::FunctionOper::getOwnArg(), QueryMemoryInitializer::getResultSet(), QueryMemoryInitializer::getResultSetOwned(), Executor::getRowCountAndOffsetForAllFrags(), ColSlotContext::getSlotInfo(), ColSlotContext::getSlotsForCol(), StringDictionary::getStringBytes(), StringDictionary::getStringUnlocked(), Executor::getTableFragmentIndices(), RelTableFunction::getTableFuncInputAt(), RelTableFunction::getTableFuncInputAtAndRelease(), QueryMemoryDescriptor::getTargetGroupbyIndex(), RelLogicalValues::getValueAt(), QueryMemoryDescriptor::groupColWidth(), import_export::import_thread_delimited(), init_agg_val_vec(), QueryMemoryInitializer::initColumnarGroups(), QueryMemoryInitializer::initColumnPerRow(), anonymous_namespace{RelAlgOptimizer.cpp}::is_distinct(), ResultSetReductionJIT::isEmpty(), ResultSetStorage::isEmptyEntry(), ResultSetStorage::isEmptyEntryColumnar(), ResultSet::isGeoColOnGpu(), anonymous_namespace{RelAlgDagBuilder.cpp}::isRenamedInput(), ResultSet::lazyReadInt(), ResultSet::makeGeoTargetValue(), ResultSet::makeTargetValue(), ResultSet::makeVarlenTargetValue(), mapd_root_abs_path(), Executor::needFetchAllFragments(), ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator()(), Executor::preloadFragOffsets(), File_Namespace::FileMgr::putBuffer(), read_stub_arg_double(), read_stub_arg_float(), read_stub_arg_int(), read_stub_arg_pvoid(), ResultSetReductionJIT::reduceOneCountDistinctSlot(), ResultSetStorage::reduceOneCountDistinctSlot(), ResultSetReductionJIT::reduceOneSlot(), ResultSetStorage::reduceOneSlot(), Executor::registerActiveModule(), JoinHashTable::reify(), BaselineJoinHashTable::reify(), anonymous_namespace{RelAlgDagBuilder.cpp}::anonymous_namespace{RelAlgDagBuilder.cpp}::reproject_targets(), QueryMemoryInitializer::resetResultSet(), ResultSetStorage::rewriteAggregateBufferOffsets(), ExecutionKernel::runImpl(), anonymous_namespace{RelAlgDagBuilder.cpp}::separate_window_function_expressions(), serialized_varlen_buffer_sample(), ColumnBitmap::set(), CudaMgr_Namespace::CudaMgr::setContext(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), synthesize_metadata(), ColumnFetcher::transferColumnIfNeeded(), RelAlgTranslator::translateAggregateRex(), RelAlgTranslator::translateGeoColumn(), RelAlgTranslator::translateInput(), type_info_from_thrift(), Executor::unregisterActiveModule(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitInput(), anonymous_namespace{RelAlgDagBuilder.cpp}::anonymous_namespace{RelAlgDagBuilder.cpp}::RexInputReplacementVisitor::visitInput(), JoinTargetRebaser::visitInput(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitOperator(), and anonymous_namespace{ExternalExecutor.cpp}::vt_column().

#define CHECK_OP (   OP,
  x,
 
)
Value:
if (std::string* fatal_msg = logger::Check##OP(x, y, #x, #y)) \
LOG(FATAL) << *std::unique_ptr<std::string>(fatal_msg)
#define LOG(tag)
Definition: Logger.h:188

Definition at line 201 of file Logger.h.

#define DEBUG_TIMER (   name)    logger::DebugTimer(logger::INFO, __FILE__, __LINE__, name)

Definition at line 313 of file Logger.h.

Referenced by foreign_storage::ForeignStorageCache::cacheChunk(), foreign_storage::ForeignStorageCache::cacheMetadataVec(), foreign_storage::ForeignStorageCache::clear(), foreign_storage::ForeignStorageCache::clearForTablePrefix(), GpuSharedMemCodeBuilder::codegen(), Executor::collectAllDeviceResults(), ColumnarResults::ColumnarResults(), ResultSet::createComparator(), foreign_storage::ForeignStorageCache::dumpCachedChunkEntries(), foreign_storage::ForeignStorageCache::dumpCachedMetadataEntries(), foreign_storage::ForeignStorageCache::eraseChunk(), foreign_storage::ForeignStorageCache::evictChunkByAlg(), RelAlgExecutor::executeAggregate(), RelAlgExecutor::executeCompound(), RelAlgExecutor::executeDelete(), RelAlgExecutor::executeFilter(), RelAlgExecutor::executeLogicalValues(), RelAlgExecutor::executeModify(), Executor::executePlanWithGroupBy(), Executor::executePlanWithoutGroupBy(), RelAlgExecutor::executeProject(), RelAlgExecutor::executeRelAlgQuery(), RelAlgExecutor::executeRelAlgQueryNoRetry(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgStep(), RelAlgExecutor::executeSort(), RelAlgExecutor::executeTableFunction(), RelAlgExecutor::executeUnion(), RelAlgExecutor::executeUpdate(), RelAlgExecutor::executeWorkUnit(), Executor::fetchChunks(), Executor::fetchUnionChunks(), ArrowResultSetConverter::getArrowResult(), foreign_storage::ForeignStorageCache::getCachedChunkIfExists(), foreign_storage::ForeignStorageCache::getCachedMetadataVecForKeyPrefix(), foreign_storage::CsvDataWrapper::getChunkBuffer(), JoinHashTableInterface::getInstance(), QueryMemoryDescriptor::getQueryExecutionContext(), QueryExecutionContext::getRowSet(), ArrowResultSetConverter::getSerializedArrowOutput(), foreign_storage::ForeignStorageCache::hasCachedMetadataForKeyPrefix(), BaselineJoinHashTable::initHashTableForDevice(), OverlapsJoinHashTable::initHashTableOnCpu(), BaselineJoinHashTable::initHashTableOnCpu(), JoinHashTable::initHashTableOnCpuFromCache(), BaselineJoinHashTable::initHashTableOnCpuFromCache(), OverlapsJoinHashTable::initHashTableOnGpu(), BaselineJoinHashTable::initHashTableOnGpu(), JoinHashTable::initOneToManyHashTable(), JoinHashTable::initOneToManyHashTableOnCpu(), JoinHashTable::initOneToOneHashTable(), JoinHashTable::initOneToOneHashTableOnCpu(), ResultSet::initPermutationBuffer(), foreign_storage::ForeignStorageCache::isCacheFull(), foreign_storage::ForeignStorageCache::isMetadataCached(), QueryExecutionContext::launchCpuCode(), QueryExecutionContext::launchGpuCode(), ResultSet::parallelTop(), foreign_storage::CsvDataWrapper::populateMetadataForChunkKeyPrefix(), ResultSet::radixSortOnCpu(), ResultSet::radixSortOnGpu(), Executor::reduceMultiDeviceResults(), Executor::reduceMultiDeviceResultSets(), JoinHashTable::reify(), BaselineJoinHashTable::reify(), OverlapsJoinHashTable::reifyWithLayout(), foreign_storage::ForeignStorageCache::setLimit(), ResultSet::sort(), ResultSet::sortPermutation(), DBHandler::sql_execute(), and ResultSet::topPermutation().

#define DEBUG_TIMER_NEW_THREAD (   parent_thread_id)    logger::debug_timer_new_thread(parent_thread_id)
#define LOG (   tag)
Value:
if (logger::fast_logging_check(logger::tag)) \
if (auto _omnisci_logger_ = logger::Logger(logger::tag)) \
_omnisci_logger_.stream(__FILE__, __LINE__)
bool fast_logging_check(Channel)
Definition: Logger.h:174

Definition at line 188 of file Logger.h.

Referenced by anonymous_namespace{RelAlgOptimizer.cpp}::add_new_indices_for(), anonymous_namespace{SerializeToSql.cpp}::agg_type_to_string(), File_Namespace::GlobalFileMgr::alloc(), File_Namespace::FileMgr::alloc(), arrow_throw_if(), import_export::QueryExporterGDAL::beginExport(), ScalarExprToSql::binOpTypeToString(), DBHandler::broadcast_serialized_rows(), Catalog_Namespace::Catalog::buildMaps(), Executor::castToFP(), DBHandler::check_session_exp_unsafe(), QueryFragmentDescriptor::checkDeviceMemoryUsage(), anonymous_namespace{StringDictionary.cpp}::checked_open(), Catalog_Namespace::SysCatalog::checkPasswordForUserImpl(), File_Namespace::FileMgr::checkpoint(), import_export::Importer::checkpoint(), anonymous_namespace{RelAlgOptimizer.cpp}::cleanup_dead_nodes(), Data_Namespace::DataMgr::clearMemory(), ResultSetReductionJIT::codegen(), CodeGenerator::codegenOverlaps(), Executor::codegenWindowFunction(), UdfCompiler::compileFromCommandLine(), UdfCompiler::compileUdf(), BloscCompressor::compressOrMemcpy(), RowToColumnLoader::convert_string_to_column(), Data_Namespace::DataMgr::convertDB(), File_Namespace::create(), create_dev_group_by_buffers(), DBHandler::create_new_session(), File_Namespace::FileMgr::createBufferUnlocked(), Catalog_Namespace::Catalog::createDashboardSystemRoles(), File_Namespace::FileMgr::createDBMetaFile(), File_Namespace::FileMgr::createEpochFile(), File_Namespace::FileMgr::createFile(), Executor::createKernels(), File_Namespace::FileMgr::createTopLevelMetadata(), RelAlgExecutor::createWorkUnit(), CudaMgr_Namespace::CudaMgr::CudaMgr(), File_Namespace::MultiPage::current(), Data_Namespace::DataMgr::DataMgr(), DBHandler::deallocate_df(), File_Namespace::FileMgr::deleteBuffer(), CudaMgr_Namespace::CudaMgr::deviceArchToSM(), DBHandler::disconnect(), Fragmenter_Namespace::InsertOrderFragmenter::dropFragmentsToSize(), Catalog_Namespace::CommonFileOperations::duplicateAndRenameCatalog(), dynamic_watchdog(), eliminate_dead_columns(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_read_int_from_buff(), FixedLengthEncoder< T, V >::encodeDataAndUpdateStats(), anonymous_namespace{ResultSetReductionInterpreter.cpp}::eval_constant(), EventCb::event_cb(), Parser::CreateTableAsSelectStmt::execute(), Parser::CopyTableStmt::execute(), DBHandler::execute_next_render_step(), DBHandler::execute_query_step(), Executor::executePlanWithGroupBy(), Executor::executePlanWithoutGroupBy(), RelAlgExecutor::executeRelAlgQuery(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgStep(), ExecutionEngineWrapper::ExecutionEngineWrapper(), import_export::anonymous_namespace{Importer.cpp}::explode_collections_step2(), import_export::QueryExporterGDAL::exportResults(), ext_arg_type_to_type_info(), File_Namespace::FileMgr::fetchBuffer(), Buffer_Namespace::BufferMgr::fetchBuffer(), file_delete(), File_Namespace::FileBuffer::FileBuffer(), TableFunctionCompilationContext::finalize(), ResultSetReductionJIT::finalizeReductionCode(), import_export::delimited_parser::find_end(), find_first_geo_file_in_archive(), Buffer_Namespace::BufferMgr::findFreeBuffer(), fold_filters(), File_Namespace::GlobalFileMgr::free(), File_Namespace::FileMgr::free(), Buffer_Namespace::BufferMgr::free(), import_export::anonymous_namespace{GDAL.cpp}::gdal_error_handler(), import_export::gdalGatherFilesInArchiveRecursive(), ScalarCodeGenerator::generateNativeCode(), StubGenerator::generateStub(), get_bit_width(), foreign_storage::anonymous_namespace{LazyParquetImporter.cpp}::get_columns_with_stats_available(), DBHandler::get_completion_hints_unsorted(), anonymous_namespace{ResultSetReductionInterpreter.cpp}::get_element_size(), get_fp_type(), foreign_storage::anonymous_namespace{LazyParquetImporter.cpp}::get_fsi_supported_metadata_scan_columns(), get_int_array_type(), anonymous_namespace{WindowContext.cpp}::get_int_constant_from_expr(), get_int_type(), get_int_vector_type(), get_node_output(), import_export::delimited_parser::get_row(), anonymous_namespace{ExtensionsIR.cpp}::get_sql_type_from_llvm_type(), get_sql_types(), anonymous_namespace{ResultSetReductionInterpreterStubs.cpp}::get_stub_read_argument_name(), DBHandler::get_tables_meta_impl(), anonymous_namespace{WindowFunctionIR.cpp}::get_window_agg_name(), CodeGenerator::getArithWithOverflowIntrinsic(), File_Namespace::FileMgr::getBuffer(), Buffer_Namespace::BufferMgr::getBuffer(), Fragmenter_Namespace::InsertOrderFragmenter::getChunkMetadata(), Buffer_Namespace::BufferMgr::getChunkMetadataVec(), Buffer_Namespace::BufferMgr::getChunkMetadataVecForKeyPrefix(), Calcite::getExtensionFunctionWhitelist(), RelAlgExecutor::getFilteredCountAll(), Geo_namespace::GeoTypesFactory::getGeoColumns(), OverlapsJoinHashTable::getInstance(), File_Namespace::FileBuffer::getMemoryPtr(), Catalog_Namespace::Catalog::getMetadataForDictUnlocked(), Calcite::getRuntimeExtensionFunctionWhitelist(), Catalog_Namespace::Catalog::getTableEpoch(), ArrowCsvForeignStorage::getType(), Calcite::getUserDefinedFunctionWhitelist(), RelAlgExecutor::handleOutOfMemoryRetry(), RelAlgExecutor::handlePersistentError(), heartbeat(), import_export::DataStreamSink::import_compressed(), DBHandler::import_geo_table(), DBHandler::import_table(), import_export::import_thread_delimited(), import_export::import_thread_shapefile(), Catalog_Namespace::SysCatalog::importDataFromOldMapdDB(), import_export::Importer::importDelimited(), import_export::Importer::importGDAL(), QueryRunner::ImportDriver::importGeoTable(), import_export::GDAL::init(), Calcite::init(), File_Namespace::GlobalFileMgr::init(), File_Namespace::FileMgr::init(), logger::init(), S3Archive::init_for_read(), InjectTimer::InjectTimer(), anonymous_namespace{RelAlgExecutor.cpp}::insert_one_dict_str(), Catalog_Namespace::Catalog::instantiateFragmenter(), import_export::anonymous_namespace{Importer.cpp}::int_value_at(), DBHandler::interrupt(), Executor::interrupt(), ResultSetReductionJIT::isEmpty(), kafka_insert(), CodeGenerator::link_udf_module(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_binary_op(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_cast_op(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_predicate(), llvm_type(), anonymous_namespace{ScalarCodeGenerator.cpp}::llvm_type_from_sql(), DBHandler::load_table(), DBHandler::load_table_binary(), DBHandler::load_table_binary_arrow(), anonymous_namespace{DBHandler.cpp}::loadArrowStream(), import_export::Loader::loadToShard(), anonymous_namespace{StringDictionary.cpp}::log_encoding_error(), main(), WindowFunctionContext::makeComparator(), anonymous_namespace{QueryRunner.cpp}::mapd_signal_handler(), migrations::MigrationMgr::migrateDateInDaysMetadata(), Catalog_Namespace::SysCatalog::migrateDBAccessPrivileges(), msg_consume(), File_Namespace::open(), File_Namespace::FileMgr::openEpochFile(), File_Namespace::FileInfo::openExistingFile(), import_export::Importer::openGDALDataset(), foreign_storage::csv_file_buffer_parser::parse_buffer(), CommandLineOptions::parse_command_line(), Catalog_Namespace::Catalog::parseDashboardObjects(), Catalog_Namespace::parseUserMetadataFromSQLite(), RebalanceCb::part_list_print(), pg_shim(), anonymous_namespace{CalciteAdapter.cpp}::pg_shim_impl(), Calcite::ping(), pointee_type(), pointer_type(), File_Namespace::MultiPage::pop(), populate_TColumn(), Data_Namespace::DataMgr::populateMgrs(), Buffer_Namespace::BufferMgr::printSegs(), Calcite::processImpl(), anonymous_namespace{RelAlgOptimizer.cpp}::propagate_input_renumbering(), File_Namespace::FileMgr::putBuffer(), query_group_by_template_impl(), query_template_impl(), Buffer_Namespace::Buffer::read(), File_Namespace::FileBuffer::read(), Buffer_Namespace::GpuCudaBuffer::readData(), Buffer_Namespace::CpuBuffer::readData(), RebalanceCb::rebalance_cb(), TableOptimizer::recomputeMetadata(), Catalog_Namespace::Catalog::recordOwnershipOfObjectsInObjectPermissions(), ResultSetReductionJIT::reduceOneAggregateSlot(), ResultSetStorage::reduceOneSlot(), ResultSetStorage::reduceOneSlotSingleValue(), ResultSetStorage::reduceSingleRow(), ArrowCsvForeignStorage::registerTable(), RelAlgDagBuilder::RelAlgDagBuilder(), remove_partial_row(), File_Namespace::renameForDelete(), Catalog_Namespace::Catalog::replaceDashboard(), rewrite_overlaps_conjunction(), anonymous_namespace{TableArchiver.cpp}::run(), run_warmup_queries(), ReductionInterpreterImpl::runBinaryOperator(), ReductionInterpreterImpl::runCast(), ReductionInterpreterImpl::runICmp(), ExecutionKernel::runImpl(), ReductionInterpreterImpl::runLoad(), SqliteMemDatabase::runSelect(), Calcite::runServer(), import_export::RenderGroupAnalyzer::seedFromExistingTableContents(), DBHandler::set_execution_mode(), DBHandler::set_execution_mode_nolock(), ddl_utils::set_whitelisted_paths(), import_export::Importer::setGDALAuthorizationTokens(), Calcite::setRuntimeExtensionFunctions(), Catalog_Namespace::Catalog::setTableEpoch(), anonymous_namespace{ResultSetReductionJIT.cpp}::setup_reduce_one_entry(), ResultSet::sort(), DBHandler::sql_execute_impl(), sql_window_function_to_str(), start_calcite_server_as_daemon(), DBHandler::start_query(), DBHandler::start_render_query(), start_server(), startMapdServer(), stream_insert(), StringDictionary::StringDictionary(), import_export::StringToArray(), QueryDispatchQueue::submit(), File_Namespace::FileInfo::syncToDisk(), Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_body(), translate_function(), RelAlgTranslator::translateLiteral(), Catalog_Namespace::SysCatalog::updateBlankPasswordsToRandom(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Catalog_Namespace::Catalog::updateDeletedColumnIndicator(), Catalog_Namespace::Catalog::updateDictionaryNames(), Catalog_Namespace::Catalog::updateFixlenArrayColumns(), Catalog_Namespace::Catalog::updateGeoColumns(), Calcite::updateMetadata(), Catalog_Namespace::Catalog::updatePageSize(), Catalog_Namespace::SysCatalog::updatePasswordsToHashes(), Catalog_Namespace::SysCatalog::updateSupportUserDeactivation(), CommandLineOptions::validate(), foreign_storage::csv_file_buffer_parser::validate_expected_column_count(), anonymous_namespace{JoinLoopTest.cpp}::verify_function_ir(), verify_function_ir(), RelAlgVisitor< std::unordered_set< int > >::visit(), RexVisitorBase< std::unordered_set< const RexInput * > >::visit(), RelRexDagVisitor::visit(), anonymous_namespace{ExternalExecutor.cpp}::vt_column(), QueryDispatchQueue::worker(), File_Namespace::FileBuffer::write(), File_Namespace::write(), File_Namespace::FileMgr::writeAndSyncDBMetaToDisk(), File_Namespace::FileMgr::writeAndSyncEpochToDisk(), Buffer_Namespace::GpuCudaBuffer::writeData(), Buffer_Namespace::CpuBuffer::writeData(), CudaMgr_Namespace::CudaMgr::~CudaMgr(), Buffer_Namespace::GpuCudaBufferMgr::~GpuCudaBufferMgr(), InjectTimer::~InjectTimer(), and ThrustAllocator::~ThrustAllocator().

#define LOGGING (   tag)    logger::fast_logging_check(logger::tag)

Definition at line 193 of file Logger.h.

#define OMINSCI_CHECKOP_FUNCTION (   name,
  op 
)
Value:
template <typename X, typename Y> \
inline std::string* Check##name( \
X const& x, Y const& y, char const* xstr, char const* ystr) { \
if (BOOST_LIKELY(x op y)) \
return nullptr; \
else \
return logger::check_failed(x, y, xstr, ystr, " " #op " "); \
}
BOOST_NOINLINE std::string * check_failed(X const &x, Y const &y, char const *xstr, char const *ystr, char const *op_str)
Definition: Logger.h:213

Definition at line 224 of file Logger.h.

#define UNREACHABLE ( )    LOG(FATAL) << "UNREACHABLE "

Definition at line 241 of file Logger.h.

Referenced by anonymous_namespace{TargetExprBuilder.cpp}::agg_fn_base_names(), anonymous_namespace{RelAlgDagBuilder.cpp}::WindowFunctionDetectionVisitor::aggregateResult(), foreign_storage::ForeignStorageMgr::alloc(), AlterForeignServerCommand::AlterForeignServerCommand(), StringNoneEncoder::appendData(), FixedLengthArrayNoneEncoder::appendData(), ArrayNoneEncoder::appendData(), QueryMemoryInitializer::applyStreamingTopNOffsetGpu(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), anonymous_namespace{ResultSetIteration.cpp}::GeoTargetValueBuilder< GEO_SOURCE_TYPE, GeoTargetFetcher >::build(), Catalog_Namespace::SysCatalog::changeDBObjectOwnership(), anonymous_namespace{QueryRewrite.cpp}::check_string_id_overflow(), foreign_storage::ForeignStorageMgr::checkpoint(), foreign_storage::ForeignStorageMgr::clearSlabs(), anonymous_namespace{GpuSharedMemoryUtils.cpp}::codegen_smem_dest_slot_ptr(), GpuSharedMemCodeBuilder::codegenInitialization(), OverlapsJoinHashTable::codegenMatchingSet(), TargetExprCodegenBuilder::codegenSlotEmptyKey(), anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer(), anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_validity(), foreign_storage::ForeignStorageMgr::createBuffer(), Analyzer::Datum_equal(), foreign_storage::ForeignStorageMgr::deleteBuffer(), foreign_storage::ForeignStorageMgr::deleteBuffersWithPrefix(), CudaMgr_Namespace::CudaMgr::deviceArchToSM(), TableFunctionExecutionContext::execute(), Parser::ValidateStmt::execute(), table_functions::anonymous_namespace{TableFunctionsFactory.cpp}::ext_arg_pointer_type_to_type_info(), foreign_storage::ForeignStorageMgr::free(), anonymous_namespace{DateTimeTranslator.cpp}::from_datetrunc_field(), anonymous_namespace{DateTimeTranslator.cpp}::from_extract_field(), anonymous_namespace{ExtensionFunctionsBinding.cpp}::get_array_arg_elem_type(), anonymous_namespace{SharedDictionaryValidator.cpp}::get_compression_for_column(), anonymous_namespace{DateTimeIR.cpp}::get_extract_function_name(), get_fp_type(), get_int_type(), anonymous_namespace{ExtensionsIR.cpp}::get_llvm_type_from_sql_array_type(), anonymous_namespace{TableFunctionCompilationContext.cpp}::get_llvm_type_from_sql_column_type(), anonymous_namespace{ExtensionsIR.cpp}::get_sql_type_from_llvm_type(), anonymous_namespace{RelAlgExecutor.cpp}::get_targets_meta(), get_value_from_datum(), foreign_storage::get_var_length_data_block_size(), foreign_storage::ForeignStorageMgr::getAllocated(), ArrowResultSetConverter::getArrowResult(), foreign_storage::CsvDataWrapper::getChunkBuffer(), Chunk_NS::Chunk::getChunkBuffer(), ResultSet::getEntryAt(), RelLogicalUnion::getFieldName(), foreign_storage::ForeignStorageMgr::getInUseSize(), QueryCompilationDescriptor::getIR(), foreign_storage::ForeignStorageMgr::getMaxSize(), RelAlgExecutor::getNDVEstimation(), foreign_storage::ForeignStorageMgr::getNumChunks(), Calcite::getRuntimeExtensionFunctionWhitelist(), RenderInfo::getSessionInfoPtr(), ResultSet::getStorageIndex(), Calcite::getUserDefinedFunctionWhitelist(), OverlapsJoinHashTable::initHashTableOnGpu(), BaselineJoinHashTable::initHashTableOnGpu(), ColumnarResults::initReadFunctions(), ColumnarResults::initWriteFunctions(), anonymous_namespace{ResultSetIteration.cpp}::int_resize_cast(), import_export::anonymous_namespace{Importer.cpp}::int_value_at(), anonymous_namespace{ColumnarResults.cpp}::invalid_read_func(), FixedLengthArrayNoneEncoder::is_null(), Analyzer::anonymous_namespace{Analyzer.cpp}::is_null_value(), foreign_storage::ForeignStorageMgr::isAllocationCapped(), foreign_storage::ForeignStorageMgr::isBufferOnDevice(), anonymous_namespace{Execute.cpp}::join_type_to_string(), TableFunctionExecutionContext::launchGpuCode(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_binary_op(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_cast_op(), anonymous_namespace{ResultSetReductionCodegen.cpp}::llvm_predicate(), llvm_type(), ResultSet::makeGeoTargetValue(), mapfrom(), ColumnarResults::materializeAllColumnsDirectly(), foreign_storage::ForeignStorageBuffer::pageCount(), foreign_storage::ForeignStorageBuffer::pageSize(), foreign_storage::csv_file_buffer_parser::ParseBufferRequest::ParseBufferRequest(), anonymous_namespace{QueryMemoryDescriptor.cpp}::pick_baseline_key_component_width(), foreign_storage::ForeignStorageMgr::printSlabs(), foreign_storage::ForeignStorageMgr::putBuffer(), File_Namespace::FileMgr::putBuffer(), QueryMemoryDescriptor::queryDescTypeToString(), read_int_from_buff(), Buffer_Namespace::BufferMgr::removeTableRelatedDS(), ForeignStorageBufferMgr::removeTableRelatedDS(), File_Namespace::FileMgr::removeTableRelatedDS(), anonymous_namespace{GpuSharedMemoryUtils.cpp}::replace_called_function_with(), anonymous_namespace{ArrowImporter.h}::ArrowValueBase< bool >::resolve_time(), anonymous_namespace{Execute.cpp}::sort_algorithm_to_string(), ConnectionInfo::toString(), anonymous_namespace{ArrowResultSet.cpp}::type_from_arrow_field(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), Fragmenter_Namespace::InsertOrderFragmenter::updateColumn(), StringNoneEncoder::updateStats(), DateDaysEncoder< T, V >::updateStats(), FixedLengthEncoder< T, V >::updateStats(), FixedLengthArrayNoneEncoder::updateStats(), NoneEncoder< T >::updateStats(), ArrayNoneEncoder::updateStats(), foreign_storage::ParquetDataWrapper::updateStatsForBuffer(), ddl_utils::FilePathWhitelist::validateWhitelistedFilePath(), and foreign_storage::ForeignStorageBuffer::write().

#define VLOG (   n)    LOG(DEBUG##n)

Definition at line 291 of file Logger.h.

Referenced by lockmgr::TableDataLockContainer< WriteLock >::acquire(), lockmgr::TableDataLockContainer< ReadLock >::acquire(), lockmgr::TableSchemaLockContainer< ReadLock >::acquireTableDescriptor(), lockmgr::TableSchemaLockContainer< WriteLock >::acquireTableDescriptor(), Executor::addToCardinalityCache(), ThrustAllocator::allocate(), OverlapsJoinHashTable::approximateTupleCount(), QueryFragmentDescriptor::buildFragmentPerKernelMapForUnion(), RelLogicalUnion::checkForMatchingMetaInfoTypes(), File_Namespace::FileMgr::checkpoint(), OverlapsJoinHashTable::codegenManyKey(), OverlapsJoinHashTable::codegenMatchingSet(), anonymous_namespace{RelAlgExecutor.cpp}::collect_used_input_desc(), OverlapsJoinHashTable::computeBucketSizes(), RelAlgExecutor::createCompoundWorkUnit(), ArrowCsvForeignStorage::createDictionaryEncodedColumn(), Executor::createKernels(), RelAlgExecutor::createUnionWorkUnit(), Catalog_Namespace::Catalog::delDictionary(), Catalog_Namespace::Catalog::dropTableFromJsonUnlocked(), dynamic_watchdog_init(), eliminate_dead_subqueries(), EventCb::event_cb(), DBHandler::execute_rel_alg(), Executor::executePlanWithGroupBy(), RelAlgExecutor::executeRelAlgQueryNoRetry(), RelAlgExecutor::executeRelAlgSeq(), RelAlgExecutor::executeRelAlgStep(), Executor::executeUpdate(), RelAlgExecutor::executeWorkUnit(), Executor::executeWorkUnit(), Executor::executeWorkUnitImpl(), Executor::fetchUnionChunks(), Buffer_Namespace::BufferMgr::findFreeBuffer(), anonymous_namespace{RelAlgExecutor.cpp}::get_input_desc(), anonymous_namespace{RelAlgExecutor.cpp}::get_used_inputs(), Executor::getCachedCardinality(), Calcite::getExtensionFunctionWhitelist(), BaselineJoinHashTable::getInstance(), OverlapsJoinHashTable::getInstance(), JoinHashTable::getInstance(), JoinHashTableInterface::getInstance(), Calcite::getRuntimeExtensionFunctionWhitelist(), Calcite::getUserDefinedFunctionWhitelist(), RelAlgExecutor::handleOutOfMemoryRetry(), anonymous_namespace{RelAlgDagBuilder.cpp}::handleQueryHint(), heartbeat(), import_export::Importer::importDelimited(), File_Namespace::FileMgr::init(), BaselineJoinHashTable::initHashTableForDevice(), OverlapsJoinHashTable::initHashTableOnCpu(), BaselineJoinHashTable::initHashTableOnCpu(), BaselineJoinHashTable::initHashTableOnCpuFromCache(), DBHandler::interrupt(), Executor::interrupt(), QueryExecutionContext::launchGpuCode(), Executor::launchKernels(), CodeGenerator::link_udf_module(), msg_consume(), File_Namespace::FileInfo::openExistingFile(), OutOfHostMemory::OutOfHostMemory(), OutOfMemory::OutOfMemory(), Parser::InsertIntoTableAsSelectStmt::populateData(), Data_Namespace::DataMgr::populateMgrs(), BaselineJoinHashTable::putHashTableOnCpuToCache(), UdfCompiler::readCpuCompiledModule(), UdfCompiler::readGpuCompiledModule(), DBHandler::register_runtime_extension_functions(), Executor::registerActiveModule(), ArrowCsvForeignStorage::registerTable(), BaselineJoinHashTable::reify(), OverlapsJoinHashTable::reifyWithLayout(), RelAlgDagBuilder::RelAlgDagBuilder(), Executor::resetInterrupt(), TableArchiver::restoreTable(), rewrite_overlaps_conjunction(), anonymous_namespace{TableArchiver.cpp}::run(), ExecutionKernel::runImpl(), QueryRunner::QueryRunner::runSQL(), Catalog_Namespace::Catalog::serializeTableJsonUnlocked(), Executor::skipFragment(), DBHandler::sql_execute(), DBHandler::sql_execute_impl(), anonymous_namespace{RelAlgExecutor.cpp}::target_exprs_for_union(), anonymous_namespace{RelAlgExecutor.cpp}::translate_scalar_sources(), Executor::unregisterActiveModule(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), OverlapsJoinHashTable::yieldCacheInvalidator(), BaselineJoinHashTable::yieldCacheInvalidator(), JoinHashTable::yieldCacheInvalidator(), and ThrustAllocator::~ThrustAllocator().

Variable Documentation

bool g_enable_debug_timer

Definition at line 17 of file Logger.cpp.