You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-4174 Review/refactor frontend/connector code
This commit is contained in:
committed by
Roman Nozdrin
parent
68244ab957
commit
129d5b5a0f
@ -352,7 +352,7 @@ void wideDecimalOrLongDouble(const uint64_t colProj,
|
||||
{
|
||||
if ((type == CalpontSystemCatalog::DECIMAL
|
||||
|| type == CalpontSystemCatalog::UDECIMAL)
|
||||
&& datatypes::Decimal::isWideDecimalType(precisionProj[colProj]))
|
||||
&& datatypes::Decimal::isWideDecimalTypeByPrecision(precisionProj[colProj]))
|
||||
{
|
||||
typeAgg.push_back(type);
|
||||
scaleAgg.push_back(scaleProj[colProj]);
|
||||
@ -758,7 +758,7 @@ void TupleAggregateStep::configDeliveredRowGroup(const JobInfo& jobInfo)
|
||||
{
|
||||
const auto& colType = jobInfo.nonConstCols[i]->resultType();
|
||||
|
||||
if (datatypes::Decimal::isWideDecimalType(colType))
|
||||
if (colType.isWideDecimalType())
|
||||
{
|
||||
*scaleIter = colType.scale;
|
||||
*precisionIter = colType.precision;
|
||||
@ -776,7 +776,7 @@ void TupleAggregateStep::configDeliveredRowGroup(const JobInfo& jobInfo)
|
||||
{
|
||||
const auto& colType = jobInfo.nonConstDelCols[i]->resultType();
|
||||
|
||||
if (datatypes::Decimal::isWideDecimalType(colType))
|
||||
if (colType.isWideDecimalType())
|
||||
{
|
||||
*scaleIter = colType.scale;
|
||||
*precisionIter = colType.precision;
|
||||
|
Reference in New Issue
Block a user