Say if I have a matrix $A$ whose first $n-1$ columns are linearly independent, and the nth column is a linear combination of the previous $n-1$ columns. Is the QR decomposition also uniquely determined in this case? Here's my reasoning:
If we look at the first $n-1$ columns of $Q$ and $R$, they are definitely unique, but then the last column of $Q$ is also uniquely defined. Then the last column of $R$ must have $0$ as the last element and the previous $n-1$ elements are defined by the linear combination. So in summary everything seems to be uniquely defined.