TDQ-9533 append "limit x" in sql query for vertica.so the query
action is quicker.