OmniSciDB  1dac507f6e
 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 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::debugTimerNewThread(parent_thread_id)
 

Typedefs

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

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::debugTimerNewThread (std::thread::id parent_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:185

Definition at line 190 of file Logger.h.

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

Definition at line 198 of file Logger.h.

Referenced by anonymous_namespace{GroupByAndAggregate.cpp}::add_transient_string_literals_for_expression(), RowSetMemoryOwner::addStringDict(), ThrustAllocator::allocate(), QueryMemoryInitializer::allocateCountDistinctBuffers(), ThrustAllocator::allocateScopedBuffer(), CudaAllocator::allocGpuAbstractBuffer(), Parser::InsertValuesStmt::analyze(), ResultSet::append(), Chunk_NS::Chunk::appendData(), FixedLengthArrayNoneEncoder::appendData(), QueryMemoryInitializer::applyStreamingTopNOffsetCpu(), QueryMemoryInitializer::applyStreamingTopNOffsetGpu(), approximate_distinct_tuples(), approximate_distinct_tuples_overlaps(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), SpeculativeTopNMap::asRows(), QueryFragmentDescriptor::assignFragsToMultiDispatch(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::bind_inputs(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::bind_project_to_input(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::bind_table_func_to_input(), 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{CalciteAdapter.cpp}::build_result_plan_targets(), anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value(), Executor::buildHashTableForQualifier(), QueryFragmentDescriptor::buildMultifragKernelMap(), Executor::buildSelectedFragsMapping(), anonymous_namespace{StringDictionary.cpp}::checked_munmap(), File_Namespace::close(), TargetExprCodegen::codegen(), InValuesBitmap::codegen(), CodeGenerator::codegen(), CodeGenerator::codegenAdd(), GroupByAndAggregate::codegenAggArg(), GroupByAndAggregate::codegenAggColumnPtr(), 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(), GroupByAndAggregate::codegenGroupBy(), CodeGenerator::codegenHoistedConstants(), CodeGenerator::codegenHoistedConstantsLoads(), CodeGenerator::codegenHoistedConstantsPlaceholders(), OverlapsJoinHashTable::codegenKey(), BaselineJoinHashTable::codegenKey(), CodeGenerator::codegenLogical(), 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::computeBucketSizes(), WindowFunctionContext::computePartition(), RelAlgExecutor::computeWindow(), StringValueConverter::convertToColumnarFormatFromDict(), copy_group_by_buffers_from_gpu(), StringDictionary::copyStrings(), count_distinct_set_union(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::create_compound(), create_left_deep_join(), MapDHandler::create_simple_result(), RelAlgExecutor::createAggregateWorkUnit(), RelAlgExecutor::createCompoundWorkUnit(), RelAlgExecutor::createFilterWorkUnit(), RelAlgExecutor::createModifyCompoundWorkUnit(), RelAlgExecutor::createModifyProjectWorkUnit(), RelAlgExecutor::createTableFunctionWorkUnit(), RelAlgExecutor::createWindowFunctionContext(), CudaMgr_Namespace::CudaMgr::CudaMgr(), ThrustAllocator::deallocate(), ArrowResultSet::deallocateArrowResultBuffer(), anonymous_namespace{ResultSetGeoSerialization.h}::decompress_coords< double >(), Parser::InsertValuesStmt::determineLeafIndex(), device_allocator_(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchAggregate(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchFilter(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchJoin(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchModify(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchNodes(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchProject(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchSort(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchTableFunction(), Importer_NS::anonymous_namespace{Importer.cpp}::double_value_at(), ResultSet::dropFirstN(), 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{JoinLoopTest.cpp}::emit_external_call(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_write_projection(), TableFunctionExecutionContext::execute(), Parser::ExportQueryStmt::execute(), RelAlgExecutor::executeDeleteViaProject(), Executor::executePlanWithoutGroupBy(), RelAlgExecutor::executeProject(), RelAlgExecutor::executeRelAlgQuerySingleStep(), Executor::executeSimpleInsert(), RelAlgExecutor::executeSort(), Executor::executeTableFunction(), Executor::executeUpdate(), RelAlgExecutor::executeUpdateViaProject(), RelAlgExecutor::executeWorkUnit(), Executor::executeWorkUnitPerFragment(), anonymous_namespace{GroupByAndAggregate.cpp}::expr_is_rowid(), extract_from_datum(), Executor::fetchChunks(), anonymous_namespace{StringDictionary.cpp}::file_size(), anonymous_namespace{RelAlgTranslator.cpp}::fill_dictionary_encoded_in_vals(), ResultSetStorage::fillOneEntryColWise(), ResultSetStorage::fillOneEntryRowWise(), find_push_down_filters(), Importer_NS::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(), Importer_NS::Loader::get_data_block_pointers(), anonymous_namespace{RelAlgExecutor.cpp}::get_data_sink(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::get_equiv_cols(), anonymous_namespace{RelAlgOptimizer.cpp}::get_field_name(), anonymous_namespace{JoinHashTable.cpp}::get_hash_entry_count(), anonymous_namespace{CalciteAdapter.cpp}::get_input_targets(), anonymous_namespace{RelAlgAbstractInterpreter.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(), anonymous_namespace{CalciteAdapter.cpp}::get_logical_sort_info(), get_node_output(), anonymous_namespace{RelAlgExecutor.cpp}::get_non_join_sequence(), 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(), ColumnFetcher::getAllColumnFragments(), 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(), JoinHashTable::getInstance(), BaselineJoinHashTable::getKeyComponentWidth(), getLeafColumnRange(), QueryMemoryDescriptor::getNextColOffInBytes(), ResultSet::getNextRowImpl(), QueryMemoryInitializer::getNumBuffers(), Chunk_NS::Chunk::getNumElemsForBytesInsertData(), Fragmenter_Namespace::FragmentInfo::getNumTuples(), ColumnFetcher::getOneTableColumnFragment(), StringDictionary::getOrAdd(), CgenState::getOrAddLiteral(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::getQuantifiedRhs(), Executor::getRowCountAndOffsetForAllFrags(), QueryExecutionContext::getRowSet(), QueryMemoryDescriptor::getRowSize(), QueryMemoryDescriptor::getSlotIndexForSingleSlotCol(), Executor::getStringDictionaryProxy(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::getTableFromScanNode(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::getTableFromScanNode(), anonymous_namespace{CalciteAdapter.cpp}::handle_logical_aggregate(), RelAlgExecutor::handleNop(), CodeGenerator::hashJoinLhsTuple(), Importer_NS::Importer::importGDAL(), File_Namespace::FileMgr::init(), Chunk_NS::Chunk::init_encoder(), QueryMemoryInitializer::initColumnPerRow(), JoinHashTable::initHashTableForDevice(), BaselineJoinHashTable::initHashTableForDevice(), JoinHashTable::initHashTableOnCpu(), OverlapsJoinHashTable::initHashTableOnGpu(), ResultSet::RowWiseTargetAccessor::initializeOffsetsForStorage(), ResultSet::ColumnWiseTargetAccessor::initializeOffsetsForStorage(), ResultSetStorage::initializeRowWise(), JoinHashTable::initOneToManyHashTable(), JoinHashTable::initOneToManyHashTableOnCpu(), 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(), MapDHandler::insert_data(), Catalog_Namespace::Catalog::instantiateFragmenter(), Importer_NS::anonymous_namespace{Importer.cpp}::int_value_at(), Executor::interrupt(), InValuesBitmap::InValuesBitmap(), anonymous_namespace{RelAlgOptimizer.cpp}::is_distinct(), FixedLengthArrayNoneEncoder::is_null(), anonymous_namespace{QueryFragmentDescriptor.cpp}::is_sample_query(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::anonymous_namespace{RelAlgAbstractInterpreter.cpp}::is_window_function_operator(), RelProject::isIdentity(), anonymous_namespace{RelAlgAbstractInterpreter.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{RelAlgAbstractInterpreter.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()(), QueryRunner::QueryRunner::parsePlanLegacy(), partial_bitmap_union(), patch_agg_fname(), QueryMemoryDescriptor::pick_target_compact_width(), File_Namespace::MultiPage::pop(), pop_n_rows_from_merged_heaps_gpu(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::prev(), File_Namespace::MultiPage::push(), QueryFragmentDescriptor::QueryFragmentDescriptor(), ResultSet::radixSortOnCpu(), File_Namespace::read(), TableOptimizer::recomputeMetadata(), ResultSetStorage::reduce(), ResultSetManager::reduce(), ResultSetReductionJIT::reduceOneAggregateSlot(), ResultSetStorage::reduceOneSlot(), ResultSetStorage::reduceSingleRow(), Executor::reduceSpeculativeTopN(), RelCompound::RelCompound(), anonymous_namespace{DateTimePlusRewrite.cpp}::remove_truncate_int(), Catalog_Namespace::Catalog::removeTableFromMap(), anonymous_namespace{CalciteAdapter.cpp}::reproject_target_entries(), ArrowResultSet::resultSetArrowLoopback(), rewrite_avg_window(), rewrite_to_date_trunc(), RexLiteral::RexLiteral(), QueryRunner::QueryRunner::runDDLStatement(), Executor::ExecutionDispatch::runImpl(), QueryRunner::QueryRunner::runMultipleStatements(), QueryRunner::QueryRunner::runSQL(), anonymous_namespace{CalciteAdapter.cpp}::separate_join_quals(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::separate_window_function_expressions(), Executor::serializeLiterals(), RexSubQuery::setExecutionResult(), RelCompound::setScalarSources(), QueryMemoryDescriptor::sharedMemBytes(), sink_projected_boolean_expr_to_join(), Executor::skipFragmentPair(), ResultSet::sort(), SpeculativeTopNMap::SpeculativeTopNMap(), MapDHandler::sql_execute_impl(), RaExecutionSequence::stepsToNextReduction(), StringDictionary::StringDictionary(), ResultSet::syncEstimatorBuffer(), RelAlgTranslator::translateAbs(), RelAlgTranslator::translateBinaryGeoFunction(), RelAlgTranslator::translateDateadd(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateDateadd(), RelAlgTranslator::translateDatediff(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateDatediff(), RelAlgTranslator::translateDatepart(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateDatepart(), RelAlgTranslator::translateDatetime(), RelAlgTranslator::translateExtract(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateExtract(), RelAlgTranslator::translateFunction(), RelAlgTranslator::translateFunctionWithGeoArg(), RelAlgTranslator::translateGeoFunctionArg(), RelAlgTranslator::translateGeoOverlapsOper(), RelAlgTranslator::translateHPTLiteral(), RelAlgTranslator::translateInOper(), RelAlgTranslator::translateInput(), RelAlgTranslator::translateItem(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateItem(), RelAlgTranslator::translateKeyForString(), RelAlgTranslator::translateLength(), RelAlgTranslator::translateLower(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateOp(), RelAlgTranslator::translateScalarSubquery(), RelAlgTranslator::translateSign(), RelAlgTranslator::translateTernaryGeoFunction(), RelAlgTranslator::translateUnaryGeoFunction(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateUnaryOp(), RelAlgTranslator::translateUoper(), anonymous_namespace{ResultSetGeoSerialization.h}::unpack_geo_vector(), Executor::unregisterActiveModule(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), StringDictionaryProxy::updateGeneration(), MapDHandler::value_to_thrift(), MapDHandler::value_to_thrift_column(), 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(), anonymous_namespace{WindowExpressionRewrite.cpp}::window_sum_and_count_match(), InValuesBitmap::~InValuesBitmap(), and ThrustAllocator::~ThrustAllocator().

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

Definition at line 203 of file Logger.h.

Referenced by Catalog_Namespace::Catalog::addReferenceToForeignDict(), ColSlotContext::alignPaddedSlots(), QueryMemoryInitializer::allocateCountDistinctBuffers(), StringNoneEncoder::appendData(), StringDictionary::appendToStorage(), anonymous_namespace{FromTableReordering.cpp}::build_join_cost_graph(), QueryFragmentDescriptor::checkDeviceMemoryUsage(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::coalesce_nodes(), TargetExprCodegen::codegen(), CodeGenerator::codegenFunctionOper(), CodeGenerator::codegenHoistedConstants(), TargetExprCodegenBuilder::codegenMultiSlotSampleExpressions(), GroupByAndAggregate::codegenOutputSlot(), CodeGenerator::colByteStream(), count_distinct_set_union(), count_matches_impl(), count_matches_sharded(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::create_compound(), create_left_deep_join(), anonymous_namespace{RelAlgExecutor.cpp}::decide_approx_count_distinct_implementation(), device_allocator_(), Executor::dispatchFragments(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RelAlgAbstractInterpreter::dispatchTableFunction(), Catalog_Namespace::Catalog::doTruncateTable(), Fragmenter_Namespace::InsertOrderFragmenter::dropFragmentsToSize(), TableFunctionExecutionContext::execute(), 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(), 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{RelAlgAbstractInterpreter.cpp}::indices_from_json_array(), GroupByAndAggregate::initCountDistinctDescriptors(), ResultSetReductionJIT::isEmpty(), ResultSetStorage::isEmptyEntry(), ResultSetStorage::isEmptyEntryColumnar(), anonymous_namespace{RelAlgAbstractInterpreter.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{RelAlgAbstractInterpreter.cpp}::parse_case(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::parse_subquery(), WindowFunctionContext::partitionCount(), QueryMemoryInitializer::QueryMemoryInitializer(), Buffer_Namespace::CpuBuffer::readData(), TableOptimizer::recomputeMetadata(), ResultSetStorage::reduce(), ResultSetStorage::reduceSingleRow(), 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(), Executor::ExecutionDispatch::runImpl(), Importer_NS::RenderGroupAnalyzer::seedFromExistingTableContents(), Catalog_Namespace::Catalog::setColumnSharedDictionary(), anonymous_namespace{RelAlgExecutor.cpp}::synthesize_inputs(), anonymous_namespace{RelAlgExecutor.cpp}::translate_targets(), anonymous_namespace{RelAlgExecutor.cpp}::translate_targets_for_update(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateCase(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateColRef(), RelAlgTranslator::translateGeoColumn(), RelAlgTranslator::translateInput(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateLike(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateLikely(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateOp(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateRegexp(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateUnlikely(), 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 202 of file Logger.h.

Referenced by anonymous_namespace{RelAlgOptimizer.cpp}::add_new_indices_for(), OverlapsJoinHashTable::approximateTupleCount(), QueryFragmentDescriptor::buildFragmentPerKernelMap(), Executor::buildHashTableForQualifier(), GroupByAndAggregate::codegenPerfectHashFunction(), OverlapsJoinHashTable::computeBucketSizes(), StringDictionary::copyStrings(), count_distinct_set_size(), create_dev_group_by_buffers(), RelAlgExecutor::createModifyCompoundWorkUnit(), RelAlgExecutor::createModifyProjectWorkUnit(), RelAlgExecutor::createTableFunctionWorkUnit(), Executor::dispatchFragments(), Importer_NS::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(), ColSlotContext::getCompactByteWidth(), StringDictionary::getEquals(), Geo_namespace::GeoTypesFactory::getGeoColumnsImpl(), getLeafColumnRange(), StringDictionary::getLike(), HashEntryInfo::getNormalizedHashEntryCount(), ColumnFetcher::getOneTableColumnFragment(), StringDictionary::getRegexpLike(), GroupByAndAggregate::getShardedTopBucket(), anonymous_namespace{OutputBufferInitialization.cpp}::init_agg_val_vec(), JoinHashTable::initHashTableForDevice(), JoinHashTable::initOneToManyHashTable(), Fragmenter_Namespace::InsertOrderFragmenter::insertDataImpl(), anonymous_namespace{CompareIR.cpp}::lower_multicol_compare(), ResultSet::makeVarlenTargetValue(), mapd_root_abs_path(), ResultSetStorage::moveEntriesToBuffer(), anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::RebindRexInputsFromLeftDeepJoin(), ResultSetStorage::reduce(), ResultSetStorage::rewriteAggregateBufferOffsets(), Executor::ExecutionDispatch::runImpl(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), RelAlgTranslator::translateGeoOverlapsOper(), RelAlgTranslator::translateOper(), use_streaming_top_n(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitInput(), and Buffer_Namespace::Buffer::write().

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

Definition at line 200 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::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{RelAlgAbstractInterpreter.cpp}::create_compound(), decodeJoinHashBuffer(), decodeJoinHashBufferToString(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::disambiguate_rex(), Importer_NS::Loader::distributeToShards(), Executor::fetchChunks(), 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(), get_temporary_table(), SQLTypeInfoCore< ArrayContextTypeSizer, ExecutorTypePackaging, DateTimeFacilities >::get_type_name(), GroupByAndAggregate::getAdditionalLiteral(), QueryMemoryInitializer::getAggInitValForIndex(), Analyzer::FunctionOper::getArg(), 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(), getExpressionRange(), RelTableFunction::getFieldName(), BaselineJoinHashTable::getJoinHashBuffer(), JoinHashTable::getJoinHashBuffer(), BaselineJoinHashTable::getJoinHashBufferSize(), JoinHashTable::getJoinHashBufferSize(), ArrowResultSet::getNextRow(), StringDictionary::getOrAddBulk(), 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(), QueryMemoryDescriptor::groupColWidth(), Importer_NS::import_thread_delimited(), anonymous_namespace{OutputBufferInitialization.cpp}::init_agg_val_vec(), QueryMemoryInitializer::initColumnarGroups(), QueryMemoryInitializer::initColumnPerRow(), anonymous_namespace{RelAlgOptimizer.cpp}::is_distinct(), ResultSetReductionJIT::isEmpty(), ResultSetStorage::isEmptyEntry(), ResultSetStorage::isEmptyEntryColumnar(), ResultSet::isGeoColOnGpu(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::isRenamedInput(), TableFunctionExecutionContext::launchGpuCode(), ResultSet::lazyReadInt(), ResultSet::makeGeoTargetValue(), ResultSet::makeTargetValue(), ResultSet::makeVarlenTargetValue(), mapd_root_abs_path(), Executor::needFetchAllFragments(), Executor::preloadFragOffsets(), File_Namespace::FileMgr::putBuffer(), query_group_by_template_impl(), 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{CalciteAdapter.cpp}::reproject_target_entries(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::anonymous_namespace{RelAlgAbstractInterpreter.cpp}::reproject_targets(), QueryMemoryInitializer::resetResultSet(), ResultSetStorage::rewriteAggregateBufferOffsets(), Executor::ExecutionDispatch::runImpl(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::separate_window_function_expressions(), serialized_varlen_buffer_sample(), ColumnBitmap::set(), CudaMgr_Namespace::CudaMgr::setContext(), Fragmenter_Namespace::SortedOrderFragmenter::sortData(), anonymous_namespace{InputMetadata.cpp}::synthesize_metadata(), ColumnFetcher::transferColumnIfNeeded(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateAggregate(), RelAlgTranslator::translateAggregateRex(), RelAlgTranslator::translateGeoColumn(), RelAlgTranslator::translateInput(), type_info_from_thrift(), Executor::unregisterActiveModule(), anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitInput(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::anonymous_namespace{RelAlgAbstractInterpreter.cpp}::RexInputReplacementVisitor::visitInput(), JoinTargetRebaser::visitInput(), and anonymous_namespace{QueryPhysicalInputsCollector.cpp}::RexPhysicalInputsVisitor::visitOperator().

#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:185

Definition at line 194 of file Logger.h.

#define DEBUG_TIMER_NEW_THREAD (   parent_thread_id)    logger::debugTimerNewThread(parent_thread_id)

Definition at line 298 of file Logger.h.

Referenced by Executor::executeWorkUnitImpl().

#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:171

Definition at line 185 of file Logger.h.

Referenced by anonymous_namespace{RelAlgOptimizer.cpp}::add_new_indices_for(), File_Namespace::GlobalFileMgr::alloc(), File_Namespace::FileMgr::alloc(), FixedLengthEncoder< T, V >::appendData(), arrow_throw_if(), MapDHandler::broadcast_serialized_rows(), Catalog_Namespace::Catalog::checkDateInDaysColumnMigration(), QueryFragmentDescriptor::checkDeviceMemoryUsage(), anonymous_namespace{StringDictionary.cpp}::checked_open(), Catalog_Namespace::SysCatalog::checkPasswordForUserImpl(), File_Namespace::FileMgr::checkpoint(), Importer_NS::Importer::checkpoint(), anonymous_namespace{RelAlgOptimizer.cpp}::cleanup_dead_nodes(), Data_Namespace::DataMgr::clearMemory(), ResultSetReductionJIT::codegen(), Executor::codegenWindowFunction(), UdfCompiler::compileFromCommandLine(), UdfCompiler::compileUdf(), BloscCompressor::compressOrMemcpy(), MapDHandler::connect_impl(), RowToColumnLoader::convert_string_to_column(), Data_Namespace::DataMgr::convertDB(), File_Namespace::create(), create_dev_group_by_buffers(), File_Namespace::FileMgr::createBuffer(), Catalog_Namespace::Catalog::createDashboardSystemRoles(), File_Namespace::FileMgr::createDBMetaFile(), File_Namespace::FileMgr::createEpochFile(), File_Namespace::FileMgr::createFile(), File_Namespace::FileMgr::createTopLevelMetadata(), File_Namespace::MultiPage::current(), MapDHandler::deallocate_df(), File_Namespace::FileMgr::deleteBuffer(), DefaultIOFacet< FRAGMENTER_TYPE >::deleteColumns(), Catalog_Namespace::Catalog::deleteMetadataForDashboard(), MapDHandler::disconnect(), Executor::dispatchFragments(), Fragmenter_Namespace::InsertOrderFragmenter::dropFragmentsToSize(), Catalog_Namespace::CommonFileOperations::duplicateAndRenameCatalog(), dynamic_watchdog(), eliminate_dead_columns(), anonymous_namespace{ResultSetReductionJIT.cpp}::emit_read_int_from_buff(), anonymous_namespace{ResultSetReductionInterpreter.cpp}::eval_constant(), EventCb::event_cb(), Parser::CopyTableStmt::execute(), MapDHandler::execute_next_render_step(), MapDHandler::execute_query_step(), RelAlgExecutor::executeDeleteViaCompound(), RelAlgExecutor::executeDeleteViaProject(), Executor::executePlanWithGroupBy(), Executor::executePlanWithoutGroupBy(), RelAlgExecutor::executeRelAlgQuery(), RelAlgExecutor::executeUpdateViaCompound(), RelAlgExecutor::executeUpdateViaProject(), ExecutionEngineWrapper::ExecutionEngineWrapper(), Importer_NS::anonymous_namespace{Importer.cpp}::explode_collections_step2(), ext_arg_type_to_type_info(), File_Namespace::FileMgr::fetchBuffer(), Buffer_Namespace::BufferMgr::fetchBuffer(), file_delete(), File_Namespace::FileBuffer::FileBuffer(), TableFunctionCompilationContext::finalize(), Importer_NS::DelimitedParserUtils::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(), Importer_NS::GDALErrorHandler(), Importer_NS::gdalGatherFilesInArchiveRecursive(), ScalarCodeGenerator::generateNativeCode(), StubGenerator::generateStub(), MapDHandler::get_completion_hints_unsorted(), anonymous_namespace{ResultSetReductionInterpreter.cpp}::get_element_size(), get_fp_type(), get_int_array_type(), anonymous_namespace{WindowContext.cpp}::get_int_constant_from_expr(), get_int_type(), get_int_vector_type(), Importer_NS::DelimitedParserUtils::get_row(), anonymous_namespace{ExtensionsIR.cpp}::get_sql_type_from_llvm_type(), get_sql_types(), anonymous_namespace{ResultSetReductionInterpreterStubs.cpp}::get_stub_read_argument_name(), MapDHandler::get_tables_meta(), anonymous_namespace{WindowFunctionIR.cpp}::get_window_agg_name(), CodeGenerator::getArithWithOverflowIntrinsic(), File_Namespace::FileMgr::getBuffer(), Buffer_Namespace::BufferMgr::getBuffer(), 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::getMetadataForDict(), Catalog_Namespace::SysCatalog::getMetadataForUser(), Calcite::getRuntimeExtensionFunctionWhitelist(), Catalog_Namespace::Catalog::getTableEpoch(), Calcite::getUserDefinedFunctionWhitelist(), RelAlgExecutor::handleOutOfMemoryRetry(), RelAlgExecutor::handlePersistentError(), heartbeat(), Importer_NS::DataStreamSink::import_compressed(), MapDHandler::import_geo_table(), MapDHandler::import_table(), Importer_NS::import_thread_delimited(), Importer_NS::import_thread_shapefile(), Catalog_Namespace::SysCatalog::importDataFromOldMapdDB(), Importer_NS::Importer::importDelimited(), Importer_NS::Importer::importGDAL(), Importer_NS::ImportDriver::importGeoTable(), Calcite::init(), File_Namespace::GlobalFileMgr::init(), File_Namespace::FileMgr::init(), logger::init(), S3Archive::init_for_read(), Importer_NS::Importer::initGDAL(), InjectTimer::InjectTimer(), anonymous_namespace{Execute.cpp}::insert_one_dict_str(), Catalog_Namespace::Catalog::instantiateFragmenter(), Importer_NS::anonymous_namespace{Importer.cpp}::int_value_at(), MapDHandler::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(), MapDHandler::load_table(), MapDHandler::load_table_binary(), MapDHandler::load_table_binary_arrow(), anonymous_namespace{MapDHandler.cpp}::loadArrowStream(), Importer_NS::Loader::loadToShard(), anonymous_namespace{StringDictionary.cpp}::log_encoding_error(), main(), WindowFunctionContext::makeComparator(), anonymous_namespace{QueryRunner.cpp}::mapd_signal_handler(), Catalog_Namespace::SysCatalog::migrateDBAccessPrivileges(), msg_consume(), File_Namespace::open(), File_Namespace::FileMgr::openEpochFile(), File_Namespace::FileInfo::openExistingFile(), Importer_NS::Importer::openGDALDataset(), MapDProgramOptions::parse_command_line(), MapDHandler::parse_to_plan_legacy(), Catalog_Namespace::Catalog::parseDashboardObjects(), RebalanceCb::part_list_print(), pg_shim(), anonymous_namespace{CalciteAdapter.cpp}::pg_shim_impl(), pointee_type(), pointer_type(), File_Namespace::MultiPage::pop(), populate_TColumn(), Data_Namespace::DataMgr::populateMgrs(), Buffer_Namespace::BufferMgr::printSegs(), Calcite::processImpl(), 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::reduceSingleRow(), remove_partial_row(), File_Namespace::renameForDelete(), Catalog_Namespace::Catalog::replaceDashboard(), rewrite_overlaps_conjunction(), Catalog_Namespace::run(), run_warmup_queries(), ReductionInterpreterImpl::runBinaryOperator(), ReductionInterpreterImpl::runCast(), ReductionInterpreterImpl::runICmp(), Executor::ExecutionDispatch::runImpl(), ReductionInterpreterImpl::runLoad(), Calcite::runServer(), QueryRunner::QueryRunner::runSQL(), Importer_NS::RenderGroupAnalyzer::seedFromExistingTableContents(), MapDHandler::set_execution_mode(), MapDHandler::set_execution_mode_nolock(), Importer_NS::Importer::setGDALAuthorizationTokens(), Calcite::setRuntimeExtensionFunctions(), File_Namespace::GlobalFileMgr::setTableEpoch(), Catalog_Namespace::Catalog::setTableEpoch(), anonymous_namespace{ResultSetReductionJIT.cpp}::setup_reduce_one_entry(), ResultSet::sort(), MapDHandler::sql_execute_df(), MapDHandler::sql_execute_impl(), sql_window_function_to_str(), start_calcite_server_as_daemon(), MapDHandler::start_query(), MapDHandler::start_render_query(), start_server(), startMapdServer(), stream_insert(), StringDictionary::StringDictionary(), Importer_NS::StringToArray(), File_Namespace::FileInfo::syncToDisk(), Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider(), anonymous_namespace{ResultSetReductionCodegen.cpp}::translate_body(), translate_function(), RelAlgTranslator::translateLiteral(), anonymous_namespace{CalciteAdapter.cpp}::CalciteAdapter::translateTypedLiteral(), Catalog_Namespace::SysCatalog::updateBlankPasswordsToRandom(), Fragmenter_Namespace::InsertOrderFragmenter::updateChunkStats(), Catalog_Namespace::Catalog::updateDeletedColumnIndicator(), Catalog_Namespace::Catalog::updateDictionaryNames(), Catalog_Namespace::Catalog::updateFixlenArrayColumns(), Calcite::updateMetadata(), Catalog_Namespace::Catalog::updatePageSize(), Catalog_Namespace::SysCatalog::updatePasswordsToHashes(), MapDProgramOptions::validate(), anonymous_namespace{JoinLoopTest.cpp}::verify_function_ir(), verify_function_ir(), RexVisitorBase< std::unordered_set< const RexInput * > >::visit(), 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(), and InjectTimer::~InjectTimer().

#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:206

Definition at line 217 of file Logger.h.

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

Definition at line 234 of file Logger.h.

Referenced by anonymous_namespace{TargetExprBuilder.cpp}::agg_fn_base_names(), anonymous_namespace{RelAlgAbstractInterpreter.cpp}::WindowFunctionDetectionVisitor::aggregateResult(), ArrayNoneEncoder::appendData(), QueryMemoryInitializer::applyStreamingTopNOffsetGpu(), OverlapsJoinHashTable::approximateTupleCount(), BaselineJoinHashTable::approximateTupleCount(), anonymous_namespace{ResultSetIteration.cpp}::GeoTargetValueBuilder< GEO_SOURCE_TYPE, GeoTargetFetcher >::build(), TargetExprCodegenBuilder::codegenSlotEmptyKey(), Executor::ExecutionDispatch::compile(), anonymous_namespace{TableFunctionExecutionContext.cpp}::create_literal_buffer(), anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_validity(), Analyzer::Datum_equal(), TableFunctionExecutionContext::execute(), Parser::ValidateStmt::execute(), table_functions::anonymous_namespace{TableFunctionsFactory.cpp}::ext_arg_pointer_type_to_type_info(), anonymous_namespace{DateTimeTranslator.cpp}::from_datetrunc_field(), anonymous_namespace{DateTimeTranslator.cpp}::from_extract_field(), anonymous_namespace{SharedDictionaryValidator.cpp}::get_compression_for_column(), get_fp_type(), get_int_type(), anonymous_namespace{ExtensionsIR.cpp}::get_sql_type_from_llvm_type(), get_value_from_datum(), ResultSet::getEntryAt(), QueryCompilationDescriptor::getIR(), RelAlgExecutor::getNDVEstimation(), Calcite::getRuntimeExtensionFunctionWhitelist(), RenderInfo::getSessionInfoPtr(), ResultSet::getStorageIndex(), Calcite::getUserDefinedFunctionWhitelist(), OverlapsJoinHashTable::initHashTableOnGpu(), BaselineJoinHashTable::initHashTableOnGpu(), ColumnarResults::initReadFunctions(), ColumnarResults::initWriteFunctions(), anonymous_namespace{ResultSetIteration.cpp}::int_resize_cast(), Importer_NS::anonymous_namespace{Importer.cpp}::int_value_at(), anonymous_namespace{ColumnarResults.cpp}::invalid_read_func(), FixedLengthArrayNoneEncoder::is_null(), 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(), Planner::Optimizer::optimize(), anonymous_namespace{QueryMemoryDescriptor.cpp}::pick_baseline_key_component_width(), anonymous_namespace{QueryMemoryDescriptor.cpp}::queryDescTypeToString(), read_int_from_buff(), anonymous_namespace{ArrowImporter.h}::ArrowValueBase< bool >::resolve_time(), anonymous_namespace{ArrowResultSet.cpp}::type_from_arrow_field(), FixedLengthArrayNoneEncoder::update_elem_stats(), ArrayNoneEncoder::update_elem_stats(), and Fragmenter_Namespace::InsertOrderFragmenter::updateColumn().

Variable Documentation

bool g_enable_debug_timer

Definition at line 17 of file Logger.cpp.