OmniSciDB
a5dc49c757
|
#include "QueryEngine/JoinHashTable/PerfectJoinHashTable.h"
#include <atomic>
#include <future>
#include <numeric>
#include <optional>
#include <thread>
#include "Logger/Logger.h"
#include "QueryEngine/CodeGenerator.h"
#include "QueryEngine/ColumnFetcher.h"
#include "QueryEngine/Execute.h"
#include "QueryEngine/ExpressionRewrite.h"
#include "QueryEngine/JoinHashTable/Builders/PerfectHashTableBuilder.h"
#include "QueryEngine/JoinHashTable/Runtime/HashJoinRuntime.h"
#include "QueryEngine/RuntimeFunctions.h"
Go to the source code of this file.
Namespaces | |
anonymous_namespace{PerfectJoinHashTable.cpp} | |
Variables | |
bool | g_is_test_env |
size_t get_entries_per_device | ( | const size_t | total_entries, |
const size_t | shard_count, | ||
const size_t | device_count, | ||
const Data_Namespace::MemoryLevel | memory_level | ||
) |
Definition at line 1295 of file PerfectJoinHashTable.cpp.
References CHECK_GT, and Data_Namespace::GPU_LEVEL.
Referenced by BoundingBoxIntersectJoinHashTable::computeHashTableCounts(), RangeJoinHashTable::computeRangeHashTableCounts(), and BaselineJoinHashTable::reifyWithLayout().
const InputTableInfo& get_inner_query_info | ( | const shared::TableKey & | inner_table_key, |
const std::vector< InputTableInfo > & | query_infos | ||
) |
Definition at line 153 of file PerfectJoinHashTable.cpp.
References CHECK.
Referenced by PerfectJoinHashTable::getInnerQueryInfo(), RangeJoinHashTable::getInstance(), PerfectJoinHashTable::getInstance(), BoundingBoxIntersectJoinHashTable::getInstance(), RangeJoinHashTable::reifyWithLayout(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and BaselineJoinHashTable::reifyWithLayout().
size_t get_shard_count | ( | std::pair< const Analyzer::ColumnVar *, const Analyzer::Expr * > | equi_pair, |
const Executor * | executor | ||
) |
Definition at line 115 of file PerfectJoinHashTable.cpp.
References CHECK, Catalog_Namespace::get_metadata_for_table(), and anonymous_namespace{PerfectJoinHashTable.cpp}::shard_count_less_or_equal_device_count().
bool needs_dictionary_translation | ( | const InnerOuter & | inner_outer_col_pair, |
const InnerOuterStringOpInfos & | inner_outer_string_op_infos, | ||
const Executor * | executor | ||
) |
Definition at line 315 of file PerfectJoinHashTable.cpp.
References CHECK, CHECK_EQ, get_column_descriptor_maybe(), and get_column_type().
std::vector<Fragmenter_Namespace::FragmentInfo> only_shards_for_device | ( | const std::vector< Fragmenter_Namespace::FragmentInfo > & | fragments, |
const int | device_id, | ||
const int | device_count | ||
) |
Definition at line 362 of file PerfectJoinHashTable.cpp.
References CHECK_GE.
Referenced by PerfectJoinHashTable::reify(), BoundingBoxIntersectJoinHashTable::reifyImpl(), RangeJoinHashTable::reifyWithLayout(), BoundingBoxIntersectJoinHashTable::reifyWithLayout(), and BaselineJoinHashTable::reifyWithLayout().
bool g_is_test_env |
Definition at line 153 of file Execute.cpp.