current_timestamp in jython component printing datetime function for cursor.execute
I am trying to feed current_timestamp value (redshift) in sql query inside python cursor, further storing the result into list, however current_timestamp inside select cursor is changing into datetime function and respective values.
result = cursor.fetchall()
[(datetime.datetime(2019, 3, 11, 13, 38, 33, 658098),)]
Can anyone please guide how I can have just current_timestamp value like ('2019-03-11 17:41:38.211589') , to use this further.