Merge pull request #24415 from AfshanKhan/sal-comp-err

fix: select sal comp while making sal struct