Fix the set_shard_name method for the table. [#76339248]