That's not completely unexpected, heh. The glass will burst because of the thermal shock. Then the sodium will condense because of the return to atmospheric pressure. Then the near boiling hot mist of sodium droplets will react with the water. BANG!
At work we sometimes throw a chunk of solid sodium into the canal outside our school. It's spectacular and a much sharper detonation than common firecrackers.