diff --git a/ingestion/examples/sample_data/looker/dashboardDataModels.json b/ingestion/examples/sample_data/looker/dashboardDataModels.json index 2bdd0b68961d..1d30232b86bd 100644 --- a/ingestion/examples/sample_data/looker/dashboardDataModels.json +++ b/ingestion/examples/sample_data/looker/dashboardDataModels.json @@ -158,51 +158,6 @@ "ordinalPosition": 5 } ] - }, - { - "name": "\"orders_view\" || \"operations_view\"", - "displayName": "Orders View and Operations View", - "description": "Orders View and Operations View from Sample Data", - "dataModelType": "LookMlView", - "serviceType": "Looker", - "sql": "view: orders {\n sql_table_name: orders ;;\n\n dimension: \"1. Phase I\" {\n type: string\n sql: ${TABLE}.status ;;\n }\n\n dimension: \"4. Authorized\" {\n type: int\n sql: ${TABLE}.amount ;;\n }\n}", - "columns": [ - { - "name": "0. Pre-clinical", - "dataType": "NUMERIC", - "dataTypeDisplay": "numeric", - "description": "Vaccine Candidates in phase: 'Pre-clinical'", - "ordinalPosition": 1 - }, - { - "name": "2. Phase II or Combined I/II", - "dataType": "NUMERIC", - "dataTypeDisplay": "numeric", - "description": "Vaccine Candidates in phase: 'Phase II or Combined I/II'", - "ordinalPosition": 2 - }, - { - "name": "1. Phase I", - "dataType": "NUMERIC", - "dataTypeDisplay": "numeric", - "description": "Vaccine Candidates in phase: 'Phase I'", - "ordinalPosition": 3 - }, - { - "name": "3. Phase III", - "dataType": "NUMERIC", - "dataTypeDisplay": "numeric", - "description": "Vaccine Candidates in phase: 'Phase III'", - "ordinalPosition": 4 - }, - { - "name": "4. Authorized", - "dataType": "NUMERIC", - "dataTypeDisplay": "numeric", - "description": "Vaccine Candidates in phase: 'Authorize'", - "ordinalPosition": 5 - } - ] } ] diff --git a/ingestion/src/metadata/ingestion/source/database/sample_data.py b/ingestion/src/metadata/ingestion/source/database/sample_data.py index 9a0f5745bfbb..f809f045206b 100644 --- a/ingestion/src/metadata/ingestion/source/database/sample_data.py +++ b/ingestion/src/metadata/ingestion/source/database/sample_data.py @@ -899,7 +899,7 @@ def ingest_tables(self) -> Iterable[Either[Entity]]: self.metadata.ingest_table_sample_data( table_entity, - SamplerResponse( + sample_data=SamplerResponse( table=table_entity, sample_data=SampleData( data=TableData( @@ -908,7 +908,7 @@ def ingest_tables(self) -> Iterable[Either[Entity]]: ), store=True, ), - ), + ).sample_data.data, ) if table.get("customMetrics"):