OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Execute.cpp File Reference
#include "Execute.h"
#include "AggregateUtils.h"
#include "CodeGenerator.h"
#include "ColumnFetcher.h"
#include "Descriptors/QueryCompilationDescriptor.h"
#include "Descriptors/QueryFragmentDescriptor.h"
#include "DynamicWatchdog.h"
#include "EquiJoinCondition.h"
#include "ErrorHandling.h"
#include "ExpressionRewrite.h"
#include "ExternalCacheInvalidators.h"
#include "GpuMemUtils.h"
#include "InPlaceSort.h"
#include "JoinHashTable/BaselineJoinHashTable.h"
#include "JoinHashTable/OverlapsJoinHashTable.h"
#include "JsonAccessors.h"
#include "OutputBufferInitialization.h"
#include "QueryEngine/QueryDispatchQueue.h"
#include "QueryRewrite.h"
#include "QueryTemplateGenerator.h"
#include "ResultSetReductionJIT.h"
#include "RuntimeFunctions.h"
#include "SpeculativeTopN.h"
#include "TableFunctions/TableFunctionCompilationContext.h"
#include "TableFunctions/TableFunctionExecutionContext.h"
#include "CudaMgr/CudaMgr.h"
#include "DataMgr/BufferMgr/BufferMgr.h"
#include "Parser/ParserNode.h"
#include "Shared/SystemParameters.h"
#include "Shared/TypedDataAccessors.h"
#include "Shared/checked_alloc.h"
#include "Shared/measure.h"
#include "Shared/misc.h"
#include "Shared/scope.h"
#include "Shared/shard_key.h"
#include "Shared/sql_type_to_string.h"
#include "Shared/threadpool.h"
#include "AggregatedColRange.h"
#include "StringDictionaryGenerations.h"
#include <llvm/Transforms/Utils/BasicBlockUtils.h>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <future>
#include <memory>
#include <numeric>
#include <set>
#include <thread>
#include "ArrayOps.cpp"
#include "DateAdd.cpp"
#include "StringFunctions.cpp"

Go to the source code of this file.

Classes

class  anonymous_namespace{Execute.cpp}::OutVecOwner
 

Namespaces

 anonymous_namespace{Execute.cpp}
 

Macros

#define EXECUTE_INCLUDE
 

Functions

 cpu_code_cache_ (code_cache_size)
 
 gpu_code_cache_ (code_cache_size)
 
 block_size_x_ (block_size_x)
 
 grid_size_x_ (grid_size_x)
 
 max_gpu_slab_size_ (max_gpu_slab_size)
 
 debug_dir_ (debug_dir)
 
 debug_file_ (debug_file)
 
 executor_id_ (executor_id)
 
 catalog_ (nullptr)
 
 temporary_tables_ (nullptr)
 
 input_table_info_cache_ (this)
 
ResultSetPtr anonymous_namespace{Execute.cpp}::get_merged_result (std::vector< std::pair< ResultSetPtr, std::vector< size_t >>> &results_per_device)
 
ReductionCode anonymous_namespace{Execute.cpp}::get_reduction_code (std::vector< std::pair< ResultSetPtr, std::vector< size_t >>> &results_per_device, int64_t *compilation_queue_time)
 
std::unordered_set< int > get_available_gpus (const Catalog_Namespace::Catalog &cat)
 
size_t get_context_count (const ExecutorDeviceType device_type, const size_t cpu_count, const size_t gpu_count)
 
size_t anonymous_namespace{Execute.cpp}::compute_buffer_entry_guess (const std::vector< InputTableInfo > &query_infos)
 
std::string anonymous_namespace{Execute.cpp}::get_table_name (const InputDescriptor &input_desc, const Catalog_Namespace::Catalog &cat)
 
size_t anonymous_namespace{Execute.cpp}::getDeviceBasedScanLimit (const ExecutorDeviceType device_type, const int device_count)
 
void anonymous_namespace{Execute.cpp}::checkWorkUnitWatchdog (const RelAlgExecutionUnit &ra_exe_unit, const std::vector< InputTableInfo > &table_infos, const Catalog_Namespace::Catalog &cat, const ExecutorDeviceType device_type, const int device_count)
 
bool is_trivial_loop_join (const std::vector< InputTableInfo > &query_infos, const RelAlgExecutionUnit &ra_exe_unit)
 
template<typename T >
std::vector< std::string > anonymous_namespace{Execute.cpp}::expr_container_to_string (const T &expr_container)
 
template<>
std::vector< std::string > anonymous_namespace{Execute.cpp}::expr_container_to_string (const std::list< Analyzer::OrderEntry > &expr_container)
 
std::string anonymous_namespace{Execute.cpp}::join_type_to_string (const JoinType type)
 
std::string anonymous_namespace{Execute.cpp}::sort_algorithm_to_string (const SortAlgorithm algorithm)
 
std::string ra_exec_unit_desc_for_caching (const RelAlgExecutionUnit &ra_exe_unit)
 
std::ostream & operator<< (std::ostream &os, const RelAlgExecutionUnit &ra_exe_unit)
 
RelAlgExecutionUnit anonymous_namespace{Execute.cpp}::replace_scan_limit (const RelAlgExecutionUnit &ra_exe_unit_in, const size_t new_scan_limit)
 
int64_t anonymous_namespace{Execute.cpp}::inline_null_val (const SQLTypeInfo &ti, const bool float_argument_input)
 
void anonymous_namespace{Execute.cpp}::fill_entries_for_empty_input (std::vector< TargetInfo > &target_infos, std::vector< int64_t > &entry, const std::vector< Analyzer::Expr * > &target_exprs, const QueryMemoryDescriptor &query_mem_desc)
 
ResultSetPtr anonymous_namespace{Execute.cpp}::build_row_for_empty_input (const std::vector< Analyzer::Expr * > &target_exprs_in, const QueryMemoryDescriptor &query_mem_desc, const ExecutorDeviceType device_type)
 
size_t anonymous_namespace{Execute.cpp}::permute_storage_columnar (const ResultSetStorage *input_storage, const QueryMemoryDescriptor &input_query_mem_desc, const ResultSetStorage *output_storage, size_t output_row_index, const QueryMemoryDescriptor &output_query_mem_desc, const std::vector< uint32_t > &top_permutation)
 
size_t anonymous_namespace{Execute.cpp}::permute_storage_row_wise (const ResultSetStorage *input_storage, const ResultSetStorage *output_storage, size_t output_row_index, const QueryMemoryDescriptor &output_query_mem_desc, const std::vector< uint32_t > &top_permutation)
 
bool anonymous_namespace{Execute.cpp}::has_lazy_fetched_columns (const std::vector< ColumnLazyFetchInfo > &fetched_cols)
 
const ColumnDescriptoranonymous_namespace{Execute.cpp}::try_get_column_descriptor (const InputColDescriptor *col_desc, const Catalog_Namespace::Catalog &cat)
 
std::map< size_t, std::vector
< uint64_t > > 
get_table_id_to_frag_offsets (const std::vector< InputDescriptor > &input_descs, const std::map< int, const TableFragments * > &all_tables_fragments)
 
std::ostream & operator<< (std::ostream &os, FetchResult const &fetch_result)
 
bool anonymous_namespace{Execute.cpp}::check_rows_less_than_needed (const ResultSetPtr &results, const size_t scan_limit)
 
std::tuple< bool, int64_t,
int64_t > 
anonymous_namespace{Execute.cpp}::get_hpt_overflow_underflow_safe_scaled_values (const int64_t chunk_min, const int64_t chunk_max, const SQLTypeInfo &lhs_type, const SQLTypeInfo &rhs_type)
 

Variables

bool g_enable_watchdog false
 
bool g_enable_dynamic_watchdog {false}
 
bool g_use_tbb_pool {false}
 
bool g_enable_filter_function {true}
 
unsigned g_dynamic_watchdog_time_limit {10000}
 
bool g_allow_cpu_retry {true}
 
bool g_null_div_by_zero {false}
 
unsigned g_trivial_loop_join_threshold {1000}
 
bool g_from_table_reordering {true}
 
bool g_inner_join_fragment_skipping {true}
 
bool g_enable_smem_group_by
 
std::unique_ptr< llvm::Module > udf_gpu_module
 
std::unique_ptr< llvm::Module > udf_cpu_module
 
bool g_enable_filter_push_down {false}
 
float g_filter_push_down_low_frac {-1.0f}
 
float g_filter_push_down_high_frac {-1.0f}
 
size_t g_filter_push_down_passing_row_ubound {0}
 
bool g_enable_columnar_output {false}
 
bool g_enable_overlaps_hashjoin {false}
 
bool g_enable_hashjoin_many_to_many {false}
 
size_t g_overlaps_max_table_size_bytes {1024 * 1024 * 1024}
 
bool g_strip_join_covered_quals {false}
 
size_t g_constrained_by_in_threshold {10}
 
size_t g_big_group_threshold {20000}
 
bool g_enable_window_functions {true}
 
bool g_enable_table_functions {false}
 
size_t g_max_memory_allocation_size {2000000000}
 
size_t g_min_memory_allocation_size
 
bool g_enable_bump_allocator {false}
 
double g_bump_allocator_step_reduction {0.75}
 
bool g_enable_direct_columnarization {true}
 
bool g_enable_experimental_string_functions
 
bool g_enable_runtime_query_interrupt {false}
 
bool g_use_estimator_result_cache {true}
 
unsigned g_runtime_query_interrupt_frequency {1000}
 
size_t g_gpu_smem_threshold
 
bool g_enable_smem_grouped_non_count_agg
 
bool g_enable_smem_non_grouped_agg
 
bool g_is_test_env {false}
 
bool g_cache_string_hash
 

Macro Definition Documentation

#define EXECUTE_INCLUDE

Definition at line 3189 of file Execute.cpp.

Function Documentation

block_size_x_ ( block_size_x  )

Referenced by Executor::blockSize().

+ Here is the caller graph for this function:

cpu_code_cache_ ( code_cache_size  )

Referenced by Executor::optimizeAndCodegenCPU().

+ Here is the caller graph for this function:

debug_dir_ ( debug_dir  )
debug_file_ ( debug_file  )
executor_id_ ( executor_id  )

Referenced by Executor::executeUpdate(), and Executor::executeWorkUnit().

+ Here is the caller graph for this function:

std::unordered_set<int> get_available_gpus ( const Catalog_Namespace::Catalog cat)

Definition at line 996 of file Execute.cpp.

References CHECK_GT, Data_Namespace::DataMgr::getCudaMgr(), Catalog_Namespace::Catalog::getDataMgr(), CudaMgr_Namespace::CudaMgr::getDeviceCount(), and Data_Namespace::DataMgr::gpusPresent().

Referenced by Executor::executeWorkUnitImpl().

996  {
997  std::unordered_set<int> available_gpus;
998  if (cat.getDataMgr().gpusPresent()) {
999  int gpu_count = cat.getDataMgr().getCudaMgr()->getDeviceCount();
1000  CHECK_GT(gpu_count, 0);
1001  for (int gpu_id = 0; gpu_id < gpu_count; ++gpu_id) {
1002  available_gpus.insert(gpu_id);
1003  }
1004  }
1005  return available_gpus;
1006 }
CudaMgr_Namespace::CudaMgr * getCudaMgr() const
Definition: DataMgr.h:208
Data_Namespace::DataMgr & getDataMgr() const
Definition: Catalog.h:209
#define CHECK_GT(x, y)
Definition: Logger.h:209
int getDeviceCount() const
Definition: CudaMgr.h:86

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

size_t get_context_count ( const ExecutorDeviceType  device_type,
const size_t  cpu_count,
const size_t  gpu_count 
)

Definition at line 1008 of file Execute.cpp.

References GPU.

Referenced by Executor::executeWorkUnitImpl().

1010  {
1011  return device_type == ExecutorDeviceType::GPU ? gpu_count
1012  : static_cast<size_t>(cpu_count);
1013 }

+ Here is the caller graph for this function:

std::map<size_t, std::vector<uint64_t> > get_table_id_to_frag_offsets ( const std::vector< InputDescriptor > &  input_descs,
const std::map< int, const TableFragments * > &  all_tables_fragments 
)

Definition at line 2208 of file Execute.cpp.

References CHECK.

Referenced by Executor::getRowCountAndOffsetForAllFrags().

2210  {
2211  std::map<size_t, std::vector<uint64_t>> tab_id_to_frag_offsets;
2212  for (auto& desc : input_descs) {
2213  const auto fragments_it = all_tables_fragments.find(desc.getTableId());
2214  CHECK(fragments_it != all_tables_fragments.end());
2215  const auto& fragments = *fragments_it->second;
2216  std::vector<uint64_t> frag_offsets(fragments.size(), 0);
2217  for (size_t i = 0, off = 0; i < fragments.size(); ++i) {
2218  frag_offsets[i] = off;
2219  off += fragments[i].getNumTuples();
2220  }
2221  tab_id_to_frag_offsets.insert(std::make_pair(desc.getTableId(), frag_offsets));
2222  }
2223  return tab_id_to_frag_offsets;
2224 }
#define CHECK(condition)
Definition: Logger.h:197

+ Here is the caller graph for this function:

gpu_code_cache_ ( code_cache_size  )
grid_size_x_ ( grid_size_x  )

Referenced by Executor::gridSize(), and Executor::numBlocksPerMP().

+ Here is the caller graph for this function:

input_table_info_cache_ ( this  )

Definition at line 148 of file Execute.cpp.

Referenced by Executor::clearMetaInfoCache(), and Executor::getTableInfo().

148 {}

+ Here is the caller graph for this function:

bool is_trivial_loop_join ( const std::vector< InputTableInfo > &  query_infos,
const RelAlgExecutionUnit ra_exe_unit 
)

Definition at line 1116 of file Execute.cpp.

References CHECK, g_trivial_loop_join_threshold, and RelAlgExecutionUnit::input_descs.

Referenced by anonymous_namespace{IRCodegen.cpp}::check_if_loop_join_is_allowed().

1117  {
1118  if (ra_exe_unit.input_descs.size() < 2) {
1119  return false;
1120  }
1121 
1122  // We only support loop join at the end of folded joins
1123  // where ra_exe_unit.input_descs.size() > 2 for now.
1124  const auto inner_table_id = ra_exe_unit.input_descs.back().getTableId();
1125 
1126  std::optional<size_t> inner_table_idx;
1127  for (size_t i = 0; i < query_infos.size(); ++i) {
1128  if (query_infos[i].table_id == inner_table_id) {
1129  inner_table_idx = i;
1130  break;
1131  }
1132  }
1133  CHECK(inner_table_idx);
1134  return query_infos[*inner_table_idx].info.getNumTuples() <=
1136 }
std::vector< InputDescriptor > input_descs
unsigned g_trivial_loop_join_threshold
Definition: Execute.cpp:81
#define CHECK(condition)
Definition: Logger.h:197

+ Here is the caller graph for this function:

max_gpu_slab_size_ ( max_gpu_slab_size  )

Referenced by Executor::maxGpuSlabSize().

+ Here is the caller graph for this function:

std::ostream& operator<< ( std::ostream &  os,
const RelAlgExecutionUnit ra_exe_unit 
)

Definition at line 1242 of file Execute.cpp.

References bool_to_string(), RelAlgExecutionUnit::estimator, anonymous_namespace{Execute.cpp}::expr_container_to_string(), RelAlgExecutionUnit::groupby_exprs, RelAlgExecutionUnit::input_col_descs, join(), RelAlgExecutionUnit::join_quals, anonymous_namespace{Execute.cpp}::join_type_to_string(), RelAlgExecutionUnit::quals, RelAlgExecutionUnit::scan_limit, RelAlgExecutionUnit::simple_quals, anonymous_namespace{Execute.cpp}::sort_algorithm_to_string(), RelAlgExecutionUnit::sort_info, RelAlgExecutionUnit::target_exprs, to_string(), RelAlgExecutionUnit::union_all, and RelAlgExecutionUnit::use_bump_allocator.

1242  {
1243  os << "\n\tTable/Col/Levels: ";
1244  for (const auto& input_col_desc : ra_exe_unit.input_col_descs) {
1245  const auto& scan_desc = input_col_desc->getScanDesc();
1246  os << "(" << scan_desc.getTableId() << ", " << input_col_desc->getColId() << ", "
1247  << scan_desc.getNestLevel() << ") ";
1248  }
1249  if (!ra_exe_unit.simple_quals.empty()) {
1250  os << "\n\tSimple Quals: "
1252  ", ");
1253  }
1254  if (!ra_exe_unit.quals.empty()) {
1255  os << "\n\tQuals: "
1256  << boost::algorithm::join(expr_container_to_string(ra_exe_unit.quals), ", ");
1257  }
1258  if (!ra_exe_unit.join_quals.empty()) {
1259  os << "\n\tJoin Quals: ";
1260  for (size_t i = 0; i < ra_exe_unit.join_quals.size(); i++) {
1261  const auto& join_condition = ra_exe_unit.join_quals[i];
1262  os << "\t\t" << std::to_string(i) << " "
1263  << join_type_to_string(join_condition.type);
1264  os << boost::algorithm::join(expr_container_to_string(join_condition.quals), ", ");
1265  }
1266  }
1267  if (!ra_exe_unit.groupby_exprs.empty()) {
1268  os << "\n\tGroup By: "
1270  ", ");
1271  }
1272  os << "\n\tProjected targets: "
1274  os << "\n\tHas Estimator: " << bool_to_string(ra_exe_unit.estimator == nullptr);
1275  os << "\n\tSort Info: ";
1276  const auto& sort_info = ra_exe_unit.sort_info;
1277  os << "\n\t Order Entries: "
1278  << boost::algorithm::join(expr_container_to_string(sort_info.order_entries), ", ");
1279  os << "\n\t Algorithm: " << sort_algorithm_to_string(sort_info.algorithm);
1280  os << "\n\t Limit: " << std::to_string(sort_info.limit);
1281  os << "\n\t Offset: " << std::to_string(sort_info.offset);
1282  os << "\n\tScan Limit: " << std::to_string(ra_exe_unit.scan_limit);
1283  os << "\n\tBump Allocator: " << bool_to_string(ra_exe_unit.use_bump_allocator);
1284  if (ra_exe_unit.union_all) {
1285  os << "\n\tUnion: " << std::string(*ra_exe_unit.union_all ? "UNION ALL" : "UNION");
1286  }
1287  return os;
1288 }
std::vector< Analyzer::Expr * > target_exprs
const std::optional< bool > union_all
std::string join(T const &container, std::string const &delim)
std::string join_type_to_string(const JoinType type)
Definition: Execute.cpp:1163
const std::list< std::shared_ptr< Analyzer::Expr > > groupby_exprs
std::string to_string(char const *&&v)
const SortInfo sort_info
const JoinQualsPerNestingLevel join_quals
std::vector< std::string > expr_container_to_string(const T &expr_container)
Definition: Execute.cpp:1141
std::string bool_to_string(const bool val)
const std::shared_ptr< Analyzer::Estimator > estimator
std::string sort_algorithm_to_string(const SortAlgorithm algorithm)
Definition: Execute.cpp:1176
std::list< std::shared_ptr< Analyzer::Expr > > quals
std::list< std::shared_ptr< const InputColDescriptor > > input_col_descs
std::list< std::shared_ptr< Analyzer::Expr > > simple_quals

+ Here is the call graph for this function:

std::ostream& operator<< ( std::ostream &  os,
FetchResult const &  fetch_result 
)

Definition at line 2295 of file Execute.cpp.

References FetchResult::col_buffers, FetchResult::frag_offsets, FetchResult::num_rows, and shared::printContainer().

2295  {
2296  return os << "col_buffers" << shared::printContainer(fetch_result.col_buffers)
2297  << " num_rows" << shared::printContainer(fetch_result.num_rows)
2298  << " frag_offsets" << shared::printContainer(fetch_result.frag_offsets);
2299 }
PrintContainer< CONTAINER > printContainer(CONTAINER &container)
Definition: misc.h:64

+ Here is the call graph for this function:

std::string ra_exec_unit_desc_for_caching ( const RelAlgExecutionUnit ra_exe_unit)

Definition at line 1191 of file Execute.cpp.

References bool_to_string(), RelAlgExecutionUnit::estimator, RelAlgExecutionUnit::groupby_exprs, RelAlgExecutionUnit::input_col_descs, RelAlgExecutionUnit::join_quals, anonymous_namespace{Execute.cpp}::join_type_to_string(), RelAlgExecutionUnit::quals, RelAlgExecutionUnit::scan_limit, RelAlgExecutionUnit::simple_quals, RelAlgExecutionUnit::target_exprs, and to_string().

Referenced by RelAlgExecutor::executeWorkUnit().

1191  {
1192  // todo(yoonmin): replace a cache key as a DAG representation of a query plan
1193  // instead of ra_exec_unit description if possible
1194  std::ostringstream os;
1195  for (const auto& input_col_desc : ra_exe_unit.input_col_descs) {
1196  const auto& scan_desc = input_col_desc->getScanDesc();
1197  os << scan_desc.getTableId() << "," << input_col_desc->getColId() << ","
1198  << scan_desc.getNestLevel();
1199  }
1200  if (!ra_exe_unit.simple_quals.empty()) {
1201  for (const auto& qual : ra_exe_unit.simple_quals) {
1202  if (qual) {
1203  os << qual->toString() << ",";
1204  }
1205  }
1206  }
1207  if (!ra_exe_unit.quals.empty()) {
1208  for (const auto& qual : ra_exe_unit.quals) {
1209  if (qual) {
1210  os << qual->toString() << ",";
1211  }
1212  }
1213  }
1214  if (!ra_exe_unit.join_quals.empty()) {
1215  for (size_t i = 0; i < ra_exe_unit.join_quals.size(); i++) {
1216  const auto& join_condition = ra_exe_unit.join_quals[i];
1217  os << std::to_string(i) << join_type_to_string(join_condition.type);
1218  for (const auto& qual : join_condition.quals) {
1219  if (qual) {
1220  os << qual->toString() << ",";
1221  }
1222  }
1223  }
1224  }
1225  if (!ra_exe_unit.groupby_exprs.empty()) {
1226  for (const auto& qual : ra_exe_unit.groupby_exprs) {
1227  if (qual) {
1228  os << qual->toString() << ",";
1229  }
1230  }
1231  }
1232  for (const auto& expr : ra_exe_unit.target_exprs) {
1233  if (expr) {
1234  os << expr->toString() << ",";
1235  }
1236  }
1237  os << bool_to_string(ra_exe_unit.estimator == nullptr);
1238  os << std::to_string(ra_exe_unit.scan_limit);
1239  return os.str();
1240 }
std::vector< Analyzer::Expr * > target_exprs
std::string join_type_to_string(const JoinType type)
Definition: Execute.cpp:1163
const std::list< std::shared_ptr< Analyzer::Expr > > groupby_exprs
std::string to_string(char const *&&v)
const JoinQualsPerNestingLevel join_quals
std::string bool_to_string(const bool val)
const std::shared_ptr< Analyzer::Estimator > estimator
std::list< std::shared_ptr< Analyzer::Expr > > quals
std::list< std::shared_ptr< const InputColDescriptor > > input_col_descs
std::list< std::shared_ptr< Analyzer::Expr > > simple_quals

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

temporary_tables_ ( nullptr  )

Referenced by Executor::getTemporaryTables().

+ Here is the caller graph for this function:

Variable Documentation

false

Definition at line 74 of file Execute.cpp.

size_t g_big_group_threshold {20000}

Definition at line 97 of file Execute.cpp.

Referenced by RelAlgExecutor::executeWorkUnit().

double g_bump_allocator_step_reduction {0.75}

Definition at line 105 of file Execute.cpp.

Referenced by create_dev_group_by_buffers().

bool g_cache_string_hash

Definition at line 45 of file StringDictionary.cpp.

size_t g_constrained_by_in_threshold {10}

Definition at line 96 of file Execute.cpp.

Referenced by QueryRewriter::rewriteConstrainedByInImpl().

unsigned g_dynamic_watchdog_time_limit {10000}
bool g_enable_bump_allocator {false}
bool g_enable_direct_columnarization {true}
bool g_enable_experimental_string_functions

Definition at line 40 of file RelAlgTranslator.cpp.

bool g_enable_filter_function {true}

Definition at line 77 of file Execute.cpp.

Referenced by CommandLineOptions::fillAdvancedOptions().

bool g_enable_hashjoin_many_to_many {false}

Definition at line 93 of file Execute.cpp.

Referenced by CommandLineOptions::fillOptions(), and rewrite_overlaps_conjunction().

bool g_enable_smem_group_by
bool g_enable_smem_grouped_non_count_agg
Initial value:
{
true}

Definition at line 116 of file Execute.cpp.

Referenced by CommandLineOptions::fillAdvancedOptions().

bool g_enable_smem_non_grouped_agg
Initial value:
{
true}

Definition at line 119 of file Execute.cpp.

Referenced by CommandLineOptions::fillAdvancedOptions().

bool g_enable_window_functions {true}
float g_filter_push_down_high_frac {-1.0f}
float g_filter_push_down_low_frac {-1.0f}
size_t g_filter_push_down_passing_row_ubound {0}
size_t g_gpu_smem_threshold
Initial value:
{
4096}

Definition at line 111 of file Execute.cpp.

Referenced by CommandLineOptions::fillAdvancedOptions().

bool g_inner_join_fragment_skipping {true}

Definition at line 83 of file Execute.cpp.

Referenced by Executor::createKernels(), and CommandLineOptions::fillOptions().

bool g_is_test_env {false}

Definition at line 122 of file Execute.cpp.

Referenced by Executor::getArenaBlockSize().

size_t g_max_memory_allocation_size {2000000000}
size_t g_min_memory_allocation_size
Initial value:
{
256}

Definition at line 101 of file Execute.cpp.

Referenced by create_dev_group_by_buffers(), and CommandLineOptions::fillAdvancedOptions().

bool g_null_div_by_zero {false}
size_t g_overlaps_max_table_size_bytes {1024 * 1024 * 1024}
bool g_strip_join_covered_quals {false}
unsigned g_trivial_loop_join_threshold {1000}

Definition at line 81 of file Execute.cpp.

Referenced by CommandLineOptions::fillOptions(), and is_trivial_loop_join().

bool g_use_estimator_result_cache {true}
std::unique_ptr<llvm::Module> udf_cpu_module

Definition at line 73 of file NativeCodegen.cpp.

std::unique_ptr<llvm::Module> udf_gpu_module

Definition at line 72 of file NativeCodegen.cpp.