Probably wouldn't tell at first.
There's not that much difference in taste, as far as your tongue is concerned..
But when the smell hits you, then you'd taste it as onion.
It would be better with potato, because the texture is more similar and it's a less pungent smell.