Does anyone know what type of fruit or growth this is? We thought we were growing tomatoes, the companion plant is producing tomatoes as expected but we don’t know what to make of this and whether it would be edible. The white spots are hard and pointy, almost like thorns. Any insight is greatly appreciated, thank you!
That looks like a poorly pollinated cucumber (the type of distortion on the fruit is exactly what you'd see if pollination were uneven). Although I can't see any leaves, the stem looks like a cucumber and even contains tendrils, as you'd expect. The cuke is edible, but will be very seedy and not particularly nice to eat. In addition, the yellowing tip indicates that the fruit is over-ripe. Personally, I'd toss it and not eat it.