This is a compact, portable bench/jobsite table saw used for light framing, trim support, and small-shop ripping. When owners report sparking or a burning smell, the first suspects are worn motor brushes or a failing switch-repairs that can be economical if caught early.
Repair is typically worth it when the saw still cuts strongly, the arbor runs smoothly, and the tabletop/fence aren't bent. Replacement is more sensible if the sparking is paired with rough bearings, excessive vibration, or repeated electrical issues, because diagnosing deeper motor or wiring problems can exceed the threshold quickly on an entry-priced tool.
Also consider safety: any evidence of overheating at the cord, plug, or switch housing should push toward replacement rather than repeated patch fixes. Pricing reference: Home Depot Bosch GTS1031 product page.