use tableInfo instead of Analysis in PrimaryKeyVisitor