Have a dynamo db table which has a column called 'created' which stores datetime in epoch format which i need to scan for archival.
I need to archive the records which are more than 30 days older from a DynamoDB table. However, date time field is in epoch format.
i used below code filterkey is the column 'created' & filter value os 'epoch' value of current date and time. connection.scan_table(FilterExpression=Attr(filter_key).lte(filter_value))
when I tried that above code although records are there its returning no records. may be the scanning method is not correct because I am comparing epoch date and time . can someone help me on this. scanning table with epoch date time formt in DynamoDB?