diff --git a/ingestion/examples/sample_data/profiler/tableProfile.json b/ingestion/examples/sample_data/profiler/tableProfile.json index 49009a1439e..06b90756f12 100644 --- a/ingestion/examples/sample_data/profiler/tableProfile.json +++ b/ingestion/examples/sample_data/profiler/tableProfile.json @@ -6,6 +6,8 @@ { "columnCount": 12.0, "rowCount": 14567.0, + "sizeInByte": 16890, + "createDateTime": 1684133069067, "columnProfile": [ { "name": "shop_id", @@ -204,6 +206,8 @@ { "columnCount": 12.0, "rowCount": 13256.0, + "sizeInByte": 163290, + "createDateTime": 1684133057067, "columnProfile": [ { "name": "shop_id", @@ -402,6 +406,8 @@ { "columnCount": 12.0, "rowCount": 10256.0, + "sizeInByte": 16890, + "createDateTime": 1684133069067, "columnProfile": [ { "name": "shop_id", @@ -592,6 +598,8 @@ { "columnCount": 12.0, "rowCount": 8945.0, + "sizeInByte": 16890521, + "createDateTime": 1684133069067, "columnProfile": [ { "name": "shop_id", @@ -778,6 +786,8 @@ { "columnCount": 12.0, "rowCount": 5461.0, + "sizeInByte": 1572301627719.68, + "createDateTime": 1684133069067, "columnProfile": [ { "name": "shop_id", diff --git a/ingestion/src/metadata/ingestion/source/database/sample_data.py b/ingestion/src/metadata/ingestion/source/database/sample_data.py index 9d63ea4a8ac..6300c8b8901 100644 --- a/ingestion/src/metadata/ingestion/source/database/sample_data.py +++ b/ingestion/src/metadata/ingestion/source/database/sample_data.py @@ -1084,6 +1084,8 @@ class SampleDataSource( tableProfile=TableProfile( columnCount=profile["columnCount"], rowCount=profile["rowCount"], + createDateTime=profile.get("createDateTime"), + sizeInByte=profile.get("sizeInByte"), timestamp=( datetime.now(tz=timezone.utc) - timedelta(days=days) ).timestamp(),