It's known that Pearson's correlation is able to measure trends for an observed sample $y$ and a possible linear relationship with a simulated data $y^{(s)}$, being $+1$ if $y^{(s)} = a + by$ and $b >0$.
But, does it matter the shape of the observed data $y$? For instance, if I have $y = f(x) = x^2$, would it make any effect for Pearson's correlation? My intuition says no, but I want to find a more reliable source.