[ ] I have added to CHANGELOG.md relevant changes and any other user facing change
[x] I have added or ran the appropriate tests
What this PR does / why we need it:
The main goal of these changes is to improve the integration and functionality of the astarte_import tool with the astarte_data_access module, ensuring efficient data access and processing within the Astarte platform.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
[ ] Yes
[x] No
Additional documentation e.g. usage docs, diagrams, etc.:
Enhancements to state handling in
tools/astarte_import/lib/astarte/import/populatedb.ex:
got_end_of_object_fun function
to properly destructure and update the State structure.last_seen_reception_timestamp
is correctly updated within thegot_end_of_property_fun
function.Improvements to structure handling:
tools/astarte_import/lib/astarte/import/populatedb.ex
: Modified thegot_end_of_object_fun
function to correctly destructure theState
structure and update its fields.tools/astarte_import/lib/astarte/import/populatedb.ex
: Ensured thelast_seen_reception_timestamp
is updated within thegot_end_of_property_fun
function by updating thedata
field of theImport.State
structure.What this PR does / why we need it:
The main goal of these changes is to improve the integration and functionality of the astarte_import tool with the astarte_data_access module, ensuring efficient data access and processing within the Astarte platform.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g. usage docs, diagrams, etc.: