[TRAFODION-2716] Query compilation gets stuck at listSnapshots() at times
[TRAFODION-2716] Query compilation gets stuck at listSnapshots() at times

To reduce the impact on the compilation when there are many snapshots,
call Admin.listSnapshots  only when cqd TRAF_TABLE_SNAPSHOT_SCAN is set to
LATEST or SUFFIX.

mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion,mashengchen/incubator-trafodion