That's a sweet potato. Yams, however, look and taste far different than those naturally sweet spuds—they’re starchier, drier, ...
It’s perfectly normal. This white substance is called sap, and it’s a mixture of sugar and starch. Sweet potatoes produce sap when they’re cut open because their cells are damaged.