Police in the Polish city say the attacker randomly fired at people after driving on to Main Market Square.