Skip to content

Commit

Permalink
Fix partition helpers (ydb-platform#2281)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssmike authored Feb 27, 2024
1 parent 1f9cb6b commit be94821
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ydb/core/kqp/executer_actor/kqp_partition_helper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ THashMap<ui64, TShardParamValuesAndRanges> PartitionParamByKey(
THashMap<ui64, TShardParamValuesAndRanges> PartitionParamByKeyPrefix(
const NUdf::TUnboxedValue& value, NKikimr::NMiniKQL::TType* type,
const TTableId& tableId, const TIntrusiveConstPtr<TTableConstInfo>& tableInfo, const TKeyDesc& key,
const NMiniKQL::THolderFactory&, const NMiniKQL::TTypeEnvironment& typeEnv, bool isFullScan)
const NMiniKQL::THolderFactory&, const NMiniKQL::TTypeEnvironment& typeEnv, bool& isFullScan)
{
YQL_ENSURE(tableInfo);

Expand Down Expand Up @@ -754,7 +754,7 @@ using namespace NMiniKQL;

THashMap<ui64, TShardInfo> PartitionLookupByParameterValue(const NKqpProto::TKqpPhyParamValue& proto,
const TStageInfo& stageInfo, const THolderFactory& holderFactory,
const TTypeEnvironment& typeEnv, bool isFullScan)
const TTypeEnvironment& typeEnv, bool& isFullScan)
{
const auto& name = proto.GetParamName();
auto [type, value] = stageInfo.Meta.Tx.Params->GetParameterUnboxedValue(name);
Expand Down Expand Up @@ -784,7 +784,7 @@ THashMap<ui64, TShardInfo> PartitionLookupByParameterValue(const NKqpProto::TKqp

THashMap<ui64, TShardInfo> PartitionLookupByRowsList(const NKqpProto::TKqpPhyRowsList& proto,
const TStageInfo& stageInfo, const THolderFactory& holderFactory,
const TTypeEnvironment& typeEnv, bool isFullScan)
const TTypeEnvironment& typeEnv, bool& isFullScan)
{
std::unordered_map<ui64, THashSet<TString>> shardParams; // shardId -> paramNames
std::unordered_map<ui64, TShardParamValuesAndRanges> ret;
Expand Down

0 comments on commit be94821

Please sign in to comment.