In the Tuamotu islands, the telling of the full cycle of the legend of Rata takes several evenings to tell. The legend of begins with his grand-father Kui, a demigod who marries Puehuehu. Their son Vahi-vero was stolen by two wild ducks that carry him to a distant island where two witches Nua and Mere-hua imprison him.
Rata, in Tahitian mythology, is said to have become king of Tahiti when his uncle, king Tumu-nui, and his father Vahieroa are swallowed by a great clam while they are on their way to Pitcairn. When he reaches adulthood, Rata plans to avenge his father. As in the Tuamotuan version, Rata identifies a tree to build his canoe, but it is protected by forest elves.