1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-641 This commit disables length estimation for DECIMALs.

This commit is contained in:
Roman Nozdrin
2020-05-21 09:28:17 +00:00
parent eeebe83839
commit 778ff607c8

View File

@@ -638,7 +638,7 @@ int64_t GroupConcator::lengthEstimate(const rowgroup::Row& row)
case CalpontSystemCatalog::DECIMAL:
case CalpontSystemCatalog::UDECIMAL:
{
fieldLen += row.getPrecision(*i)/2;
fieldLen += 1;
break;
}