v.24.2Bug Fix

Fix Distributed Table with Constant Sharding Key

Fix distributed table with a constant sharding key #59606 (Vitaly Baranov).