|
176 | 176 | "datasets": [
|
177 | 177 | "urn:li:dataset:(urn:li:dataPlatform:mode,5450544,PROD)"
|
178 | 178 | ],
|
| 179 | + "dashboards": [], |
179 | 180 | "lastModified": {
|
180 | 181 | "created": {
|
181 | 182 | "time": 1639169724316,
|
|
253 | 254 | "aspect": {
|
254 | 255 | "json": {
|
255 | 256 | "customProperties": {
|
| 257 | + "id": "19780522", |
| 258 | + "created_at": "2024-09-02T07:38:43.755Z", |
256 | 259 | "updated_at": "2024-09-02T07:40:44.046Z",
|
257 | 260 | "last_run_id": "3535709679",
|
258 | 261 | "data_source_id": "44763",
|
259 | 262 | "report_imports_count": "2"
|
260 | 263 | },
|
261 | 264 | "externalUrl": "https://app.mode.com/acryl/datasets/24f66e1701b6",
|
262 | 265 | "name": "Dataset 1",
|
263 |
| - "description": "### Source Code\n``` sql\n-- Returns first 100 rows from DATAHUB_COMMUNITY.POSTGRES_PUBLIC.COMPANY\n SELECT \n\t\tAGE,\n\t\tID,\n\t\tNAME,\n\t\t_FIVETRAN_DELETED,\n\t\t_FIVETRAN_SYNCED\n FROM DATAHUB_COMMUNITY.POSTGRES_PUBLIC.COMPANY LIMIT 100;\n\n-- Returns first 100 rows from ETHAN_TEST_DB.PUBLIC.ACCOUNT_PHONE_NUMBER\n SELECT \n\t\tCOMMUNICATION_ACCOUNT_ID,\n\t\tID,\n\t\tMMS_CAPABLE,\n\t\tPHONE_NUMBER,\n\t\tSMS_CAPABLE,\n\t\tSTATUS,\n\t\tSTATUS_TLM,\n\t\tTLM,\n\t\tVOICE_CAPABLE,\n\t\tWHEN_CREATED\n FROM ETHAN_TEST_DB.PUBLIC.ACCOUNT_PHONE_NUMBER LIMIT 100;\n \n \n```\n ", |
264 | 266 | "tags": []
|
265 | 267 | }
|
266 | 268 | },
|
|
270 | 272 | "lastRunId": "no-run-id-provided"
|
271 | 273 | }
|
272 | 274 | },
|
| 275 | +{ |
| 276 | + "entityType": "dataset", |
| 277 | + "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:mode,5450544,PROD)", |
| 278 | + "changeType": "UPSERT", |
| 279 | + "aspectName": "viewProperties", |
| 280 | + "aspect": { |
| 281 | + "json": { |
| 282 | + "materialized": false, |
| 283 | + "viewLogic": "-- Returns first 100 rows from DATAHUB_COMMUNITY.POSTGRES_PUBLIC.COMPANY\n SELECT \n\t\tAGE,\n\t\tID,\n\t\tNAME,\n\t\t_FIVETRAN_DELETED,\n\t\t_FIVETRAN_SYNCED\n FROM DATAHUB_COMMUNITY.POSTGRES_PUBLIC.COMPANY LIMIT 100;\n\n-- Returns first 100 rows from ETHAN_TEST_DB.PUBLIC.ACCOUNT_PHONE_NUMBER\n SELECT \n\t\tCOMMUNICATION_ACCOUNT_ID,\n\t\tID,\n\t\tMMS_CAPABLE,\n\t\tPHONE_NUMBER,\n\t\tSMS_CAPABLE,\n\t\tSTATUS,\n\t\tSTATUS_TLM,\n\t\tTLM,\n\t\tVOICE_CAPABLE,\n\t\tWHEN_CREATED\n FROM ETHAN_TEST_DB.PUBLIC.ACCOUNT_PHONE_NUMBER LIMIT 100;\n \n ", |
| 284 | + "viewLanguage": "SQL" |
| 285 | + } |
| 286 | + }, |
| 287 | + "systemMetadata": { |
| 288 | + "lastObserved": 1638860400000, |
| 289 | + "runId": "mode-test", |
| 290 | + "lastRunId": "no-run-id-provided" |
| 291 | + } |
| 292 | +}, |
273 | 293 | {
|
274 | 294 | "entityType": "dataset",
|
275 | 295 | "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:mode,5450544,PROD)",
|
|
336 | 356 | "aspect": {
|
337 | 357 | "json": {
|
338 | 358 | "customProperties": {
|
| 359 | + "id": "10149707", |
| 360 | + "created_at": "2021-12-10T20:55:24.361Z", |
339 | 361 | "updated_at": "2021-12-10T23:12:53.273Z",
|
340 | 362 | "last_run_id": "1897576958",
|
341 | 363 | "data_source_id": "34499"
|
342 | 364 | },
|
343 | 365 | "externalUrl": "https://app.mode.com/acryl/reports/9d2da37fa91e/details/queries/6e26a9f3d4e2",
|
344 | 366 | "name": "Customer and staff",
|
345 |
| - "description": "### Source Code\n``` sql\nSELECT rental.*, staff.first_name \"Staff First Name\", staff.last_name \"Staff Last Name\" FROM {{ @join_on_definition as rental }} join staff on staff.staff_id = rental.staff_id where selected_id = {{ selected_id }} \n{% form %}\nselected_id:\n type: text\n default: my_id\n{% endform %}\n```\n ", |
346 | 367 | "tags": []
|
347 | 368 | }
|
348 | 369 | },
|
|
352 | 373 | "lastRunId": "no-run-id-provided"
|
353 | 374 | }
|
354 | 375 | },
|
| 376 | +{ |
| 377 | + "entityType": "dataset", |
| 378 | + "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:mode,10149707,PROD)", |
| 379 | + "changeType": "UPSERT", |
| 380 | + "aspectName": "viewProperties", |
| 381 | + "aspect": { |
| 382 | + "json": { |
| 383 | + "materialized": false, |
| 384 | + "viewLogic": "SELECT rental.*, staff.first_name \"Staff First Name\", staff.last_name \"Staff Last Name\" FROM {{ @join_on_definition as rental }} join staff on staff.staff_id = rental.staff_id where selected_id = {{ selected_id }} \n{% form %}\nselected_id:\n type: text\n default: my_id\n{% endform %}", |
| 385 | + "viewLanguage": "SQL" |
| 386 | + } |
| 387 | + }, |
| 388 | + "systemMetadata": { |
| 389 | + "lastObserved": 1638860400000, |
| 390 | + "runId": "mode-test", |
| 391 | + "lastRunId": "no-run-id-provided" |
| 392 | + } |
| 393 | +}, |
355 | 394 | {
|
356 | 395 | "entityType": "dataset",
|
357 | 396 | "entityUrn": "urn:li:dataset:(urn:li:dataPlatform:mode,10149707,PROD)",
|
|
0 commit comments