-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4527497
commit d8ecb9c
Showing
2 changed files
with
346 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,346 @@ | ||
[ | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"changeType": "UPSERT", | ||
"aspectName": "containerProperties", | ||
"aspect": { | ||
"json": { | ||
"customProperties": { | ||
"platform": "cassandra", | ||
"env": "PROD", | ||
"keyspace": "cass_test_1" | ||
}, | ||
"name": "cass_test_1", | ||
"env": "PROD" | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079359, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "schemaMetadata", | ||
"aspect": { | ||
"json": { | ||
"schemaName": "information", | ||
"platform": "urn:li:dataPlatform:cassandra", | ||
"version": 0, | ||
"created": { | ||
"time": 0, | ||
"actor": "urn:li:corpuser:unknown" | ||
}, | ||
"lastModified": { | ||
"time": 0, | ||
"actor": "urn:li:corpuser:unknown" | ||
}, | ||
"hash": "", | ||
"platformSchema": { | ||
"com.linkedin.schema.OtherSchema": { | ||
"rawSchema": "[{\"keyspace_name\": \"cass_test_1\", \"table_name\": \"information\", \"column_name\": \"details\", \"clustering_order\": \"none\", \"kind\": \"regular\", \"position\": -1, \"type\": \"text\"}, {\"keyspace_name\": \"cass_test_1\", \"table_name\": \"information\", \"column_name\": \"last_updated\", \"clustering_order\": \"none\", \"kind\": \"regular\", \"position\": -1, \"type\": \"timestamp\"}, {\"keyspace_name\": \"cass_test_1\", \"table_name\": \"information\", \"column_name\": \"person_id\", \"clustering_order\": \"none\", \"kind\": \"partition_key\", \"position\": 0, \"type\": \"int\"}]" | ||
} | ||
}, | ||
"fields": [ | ||
{ | ||
"fieldPath": "[version=2.0].[type=text].details", | ||
"nullable": true, | ||
"type": { | ||
"type": { | ||
"com.linkedin.schema.StringType": {} | ||
} | ||
}, | ||
"nativeDataType": "text", | ||
"recursive": false, | ||
"isPartOfKey": false | ||
}, | ||
{ | ||
"fieldPath": "[version=2.0].[type=timestamp].last_updated", | ||
"nullable": true, | ||
"type": { | ||
"type": { | ||
"com.linkedin.schema.TimeType": {} | ||
} | ||
}, | ||
"nativeDataType": "timestamp", | ||
"recursive": false, | ||
"isPartOfKey": false | ||
}, | ||
{ | ||
"fieldPath": "[version=2.0].[type=int].person_id", | ||
"nullable": true, | ||
"type": { | ||
"type": { | ||
"com.linkedin.schema.NumberType": {} | ||
} | ||
}, | ||
"nativeDataType": "int", | ||
"recursive": false, | ||
"isPartOfKey": false | ||
} | ||
] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079371, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"changeType": "UPSERT", | ||
"aspectName": "dataPlatformInstance", | ||
"aspect": { | ||
"json": { | ||
"platform": "urn:li:dataPlatform:cassandra" | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079360, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"changeType": "UPSERT", | ||
"aspectName": "status", | ||
"aspect": { | ||
"json": { | ||
"removed": false | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079360, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"changeType": "UPSERT", | ||
"aspectName": "subTypes", | ||
"aspect": { | ||
"json": { | ||
"typeNames": [ | ||
"Keyspace" | ||
] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079360, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"changeType": "UPSERT", | ||
"aspectName": "browsePathsV2", | ||
"aspect": { | ||
"json": { | ||
"path": [] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079361, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "status", | ||
"aspect": { | ||
"json": { | ||
"removed": false | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079373, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "subTypes", | ||
"aspect": { | ||
"json": { | ||
"typeNames": [ | ||
"Table" | ||
] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079373, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "container", | ||
"aspect": { | ||
"json": { | ||
"container": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05" | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079374, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "browsePathsV2", | ||
"aspect": { | ||
"json": { | ||
"path": [ | ||
{ | ||
"id": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05", | ||
"urn": "urn:li:container:e88cdfeb0f0ec790300527f9ea34ee05" | ||
} | ||
] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079374, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "dataset", | ||
"entityUrn": "urn:li:dataset:(urn:li:dataPlatform:cassandra,cass_test_1.information,PROD)", | ||
"changeType": "UPSERT", | ||
"aspectName": "datasetProperties", | ||
"aspect": { | ||
"json": { | ||
"customProperties": { | ||
"bloom_filter_fp_chance": "0.01", | ||
"caching": "{'keys': 'ALL', 'rows_per_partition': 'NONE'}", | ||
"cdc": "None", | ||
"compaction": "{'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy', 'max_threshold': '32', 'min_threshold': '4'}", | ||
"compression": "{'chunk_length_in_kb': '16', 'class': 'org.apache.cassandra.io.compress.LZ4Compressor'}", | ||
"max_index_interval": "2048" | ||
}, | ||
"name": "information", | ||
"qualifiedName": "cass_test_1.information", | ||
"description": "", | ||
"tags": [] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079374, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:0381892d0717b54887d087eaafd95d2b", | ||
"changeType": "UPSERT", | ||
"aspectName": "status", | ||
"aspect": { | ||
"json": { | ||
"removed": false | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079383, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:0381892d0717b54887d087eaafd95d2b", | ||
"changeType": "UPSERT", | ||
"aspectName": "containerProperties", | ||
"aspect": { | ||
"json": { | ||
"customProperties": { | ||
"platform": "cassandra", | ||
"env": "PROD", | ||
"keyspace": "cass_test_2" | ||
}, | ||
"name": "cass_test_2", | ||
"env": "PROD" | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079383, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:0381892d0717b54887d087eaafd95d2b", | ||
"changeType": "UPSERT", | ||
"aspectName": "subTypes", | ||
"aspect": { | ||
"json": { | ||
"typeNames": [ | ||
"Keyspace" | ||
] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079384, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:0381892d0717b54887d087eaafd95d2b", | ||
"changeType": "UPSERT", | ||
"aspectName": "browsePathsV2", | ||
"aspect": { | ||
"json": { | ||
"path": [] | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079385, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
}, | ||
{ | ||
"entityType": "container", | ||
"entityUrn": "urn:li:container:0381892d0717b54887d087eaafd95d2b", | ||
"changeType": "UPSERT", | ||
"aspectName": "dataPlatformInstance", | ||
"aspect": { | ||
"json": { | ||
"platform": "urn:li:dataPlatform:cassandra" | ||
} | ||
}, | ||
"systemMetadata": { | ||
"lastObserved": 1731087079384, | ||
"runId": "cassandra-test", | ||
"lastRunId": "no-run-id-provided" | ||
} | ||
} | ||
] |
34 changes: 0 additions & 34 deletions
34
metadata-ingestion/tests/integration/cassandra/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters