Setting table alias is persistent

https://github.com/fiksu/partitioned/issues/23 and https://github.com/fiksu/partitioned/issues/24