def get_timestamp(self, **kwargs):
        timestamp = kwargs.get('timestamp')
        if not timestamp:
            now = datetime.datetime.utcnow()
            timestamp = now.strftime("%Y-%m-%dT%H:%M:%S") + ".%03d" % (now.microsecond / 1000) + "Z"

        return timestamp
Synchronously execute a SQL query.
dataset/ETHPy150Open python-beaver/python-beaver/beaver/transports/base_transport.py/BaseTransport.get_timestamp--crossover with--dataset/ETHPy150Open cloudera/impyla/impala/hiveserver2.py/HiveServer2Cursor.execute