Support schema.table in columns

fix to pass test from issue #99.
Can we move this `var` out of the for loop?