def _get_newest_ts_in_table(self, table_name):
logger.debug(<EOL>'<STR_LIT>', table_name<EOL>)<EOL>q = "<STR_LIT>" % (<EOL>self._from_for_table(table_name)<EOL>)<EOL>res = self._run_query(q)<EOL>ts = int(res[<NUM_LIT:0>]['<STR_LIT>'])<EOL>logger.debug('<STR_LIT>', table_name, ts)<EOL>return ts<EOL>
Return the timestamp for the newest record in the given table.

:param table_name: name of the table to query
:type table_name: str
:return: timestamp of newest row in table
:rtype: int