The sparks are called expulsion. Expulsion in resistance welding is molten metal leaving the weld zone. There are lots of factors that affect expolsion in resistance welding. In my experiance having little to no expulsion is the best/most consistant weld process.