The word is a hybrid of Antillian (probably Taíno) batata 'sweet potato' and Quechua papa ('potato'). Originally referred to the sweet potato. In modern Spanish batata 'sweet potato' and patata 'potato'.
From Spanish patata. The 16th-century English herbalist John Gerard referred to sweet potatoes as common potatoes, and used the terms bastard potatoes and Virginia potatoes for the species we now call potato. In many of the chronicles detailing agriculture and plants, no distinction is made between the two. Potatoes are occasionally referred to as Irish potatoes or white potatoes in the United States, to distinguish them from sweet potatoes.
JWJW From Chinese gānshǔ (甘藷) originally 'lesser yam (Dioscorea esculenta)', then 'sweet potato (Ipomoea batatas)'First attested 1766 in Korea. The meaning of the word changed into inferring both potato and sweet potato about the 19th century, and later lost its original meaning