v.20.7Bug Fix

Fix Columns Duplication in Range Hashed Dictionary from DDL Query

Fix columns duplication for range hashed dictionary created from DDL query. This fixes #10605. #12857 (alesapin).