Iga Swiatek has beaten Paula Badosa in three sets and Poland leads host Spain by an insurmountable 2-0 in the opening round of the Billie Jean King Cup Finals in Malaga.