Each situation would need to be appraised but your best answers come from NFPA 13 8.5.5 for non dwelling uses. Obstructions closer than 18" are a particular problem and a smaller obstruction will be considered. If it is further than 18" then obstructions over 4' will need a head under the obstruction. It is best to ask the sprinkler designer if possible.