Product flat indexer and wrong primary key fields in temporary tables
Product flat indexer will be so slow that it is practically stuck while indexing larger amount of products. Origin of this issue is in wrong indexed fields in the temporary tables, which are joined in insert-from-select query building the tmp table. I've already created PR to fix this: https://github.com/magento/magento2/pull/8589
Question is that is there any official patch to fix this?