Sriharsha Chintalapani c2ed4f422f
Fix LifeCycle inconsistencies in Schema, make it common entity field (#13252)
* Fix LifeCycle inconsistencies in Schema; Add DELETE api

* set autocommit to true for non transactional

* make lifecycle common field for entities

* Add LifeCycle as common entity field

* Fix python life cycle code

* Fix search indexes

* remove unnecessary constant

* Add test back to entity resource test

* Fix lint

* Fix lint

* Fix lint

* Fix lint

* Add missing schema

---------

Co-authored-by: Pere Miquel Brull <peremiquelbrull@gmail.com>
2023-09-19 14:03:57 +02:00

71 lines
2.3 KiB
JSON

{
"lifeCycleData": [
{
"fqn": "sample_data.ecommerce_db.shopify.dim_address",
"lifeCycle": {
"created": {
"timestamp": 1662900600000,
"accessedByAProcess": "Alice"
},
"updated": {
"timestamp": 1662986700000,
"accessedByAProcess": "Bob"
},
"accessed": {
"timestamp": 1663071300000,
"accessedByAProcess": "Charlie"
}
}
},
{
"fqn": "sample_data.ecommerce_db.shopify.dim_customer",
"lifeCycle": {
"created": {
"timestamp": 1693579104000,
"accessedBy": {
"id": "1cda9ecb-f4c6-4ed4-8506-abe965b64c87",
"name": "aaron_johnson0",
"type": "user"
}
},
"updated": {
"timestamp": 1693665504000,
"accessedBy": {
"id": "1cda9ecb-f4c6-4ed4-8506-abe965b64c87",
"name": "amber_green0",
"type": "user"
}
},
"accessed": {
"timestamp": 1693838304000,
"accessedBy": {
"id": "1cda9ecb-f4c6-4ed4-8506-abe965b64c87",
"name": "alex_pollard9",
"type": "user"
}
}
}
},
{
"fqn": "sample_data.ecommerce_db.shopify.dim_location",
"lifeCycle": {
"created": {
"timestamp": 1688567904000,
"accessedBy": {
"id": "1cda9ecb-f4c6-4ed4-8506-abe965b64c87",
"name": "anthony_wall4",
"type": "user"
}
},
"updated": {
"timestamp": 1688827104000,
"accessedByAProcess": "Alice"
},
"accessed": {
"timestamp": 1688654304000,
"accessedByAProcess": "David"
}
}
}
]
}