TDQ-9533 append "limit x" in sql query for vertica.so the query
action is quicker.
Merge branch 'maintenance/5.6'