The spell does not actually target the planeswalker because the planeswalker is neither a creature nor a player (the kinds of objects that burn spells can normally target).However, there is a rule that allows you to redirect noncombat damage that you would deal to an opponent to a planeswalker that player controls instead:306.7.