diff options
author | vvvv <vvvv@ydb.tech> | 2023-07-25 22:28:02 +0300 |
---|---|---|
committer | root <root@qavm-2ed34686.qemu> | 2023-07-25 22:28:02 +0300 |
commit | 5c939e73d60a6ba835239eaad1edf65ec70c5f17 (patch) | |
tree | 6f26051794fcae65d0d8e4e6d2dc686583bdc96a | |
parent | 2e8d00963b1eed32dc48bac5e75419eab489437c (diff) | |
download | ydb-5c939e73d60a6ba835239eaad1edf65ec70c5f17.tar.gz |
Another fix for PG key estimation
-rw-r--r-- | ydb/library/yql/public/udf/arrow/block_reader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ydb/library/yql/public/udf/arrow/block_reader.h b/ydb/library/yql/public/udf/arrow/block_reader.h index 3500e0154b..b09e3f4e79 100644 --- a/ydb/library/yql/public/udf/arrow/block_reader.h +++ b/ydb/library/yql/public/udf/arrow/block_reader.h @@ -449,7 +449,7 @@ inline void UpdateBlockItemSerializeProps(const ITypeInfoHelper& typeInfoHelper, if (typePg) { auto desc = typeInfoHelper.FindPgTypeDescription(typePg.GetTypeId()); if (desc->PassByValue) { - *props.MaxSize += 1 + desc->Typelen; + *props.MaxSize += 1 + 8; } else { props.MaxSize = {}; props.IsFixed = false; |