Skip to content

Commit 719df10

Browse files
committed
MC-17929: 2.3.2 - Product Flat Data index taking long time to reindex?
1 parent 5064b39 commit 719df10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Catalog/Model/Indexer/Product/Flat/TableBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public function build($storeId, $changedIds, $valueFieldSuffix)
8686
//Create list of temporary tables based on available attributes attributes
8787
$valueTables = [];
8888
foreach ($temporaryEavAttributes as $tableName => $columns) {
89+
// phpcs:ignore Magento2.Performance.ForeachArrayMerge
8990
$valueTables = array_merge(
9091
$valueTables,
9192
$this->_createTemporaryTable($this->_getTemporaryTableName($tableName), $columns, $valueFieldSuffix)
@@ -294,6 +295,7 @@ protected function _fillTemporaryTable(
294295
$select = $this->_connection->select();
295296
$selectValue = $this->_connection->select();
296297
$keyColumn = array_unique([$linkField, 'entity_id']);
298+
// phpcs:ignore Magento2.Performance.ForeachArrayMerge
297299
$columns = array_merge($keyColumn, array_keys($columnsList));
298300
$valueColumns = $keyColumn;
299301
$iterationNum = 1;

0 commit comments

Comments
 (0)