mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-04 12:36:23 +00:00 
			
		
		
		
	add sample data for table profile (#12422)
This commit is contained in:
		
							parent
							
								
									42a426226e
								
							
						
					
					
						commit
						838ff73a4e
					
				@ -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",
 | 
			
		||||
 | 
			
		||||
@ -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(),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user