Skip to content

Commit

Permalink
Merge branch 'master' into JifeiMei-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Jul 13, 2023
2 parents 8c649fd + 83ebeb2 commit b75ab5a
Show file tree
Hide file tree
Showing 8 changed files with 100 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const LOOKBACK_WINDOWS = [
{ text: '1 year', windowSize: { interval: DateInterval.Year, count: 1 } },
];

const DEFAULT_LOOKBACK_WINDOW = '1 week';
const DEFAULT_LOOKBACK_WINDOW = '3 months';

const getLookbackWindowSize = (text: string) => {
for (let i = 0; i < LOOKBACK_WINDOWS.length; i++) {
Expand Down
2 changes: 1 addition & 1 deletion metadata-ingestion/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def get_long_description():
"trino[sqlalchemy]>=0.308, !=0.317",
}

microsoft_common = {"msal==1.16.0"}
microsoft_common = {"msal==1.22.0"}

iceberg_common = {
# Iceberg Python SDK
Expand Down
172 changes: 89 additions & 83 deletions metadata-ingestion/src/datahub/ingestion/source/kafka_connect.py

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"urn:li:dataset:(urn:li:dataPlatform:postgres,postgres1.postgres.public.member,PROD)"
],
"outputDatasets": [
"urn:li:dataset:(urn:li:dataPlatform:kafka,test-postgres-jdbc-member,PROD)"
"urn:li:dataset:(urn:li:dataPlatform:kafka,kafka1.test-postgres-jdbc-member,PROD)"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"urn:li:dataset:(urn:li:dataPlatform:mongodb,test_db.purchases,PROD)"
],
"outputDatasets": [
"urn:li:dataset:(urn:li:dataPlatform:kafka,mongodb.test_db.purchases,PROD)"
"urn:li:dataset:(urn:li:dataPlatform:kafka,kafkax.mongodb.test_db.purchases,PROD)"
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ source:
convert_lineage_urns_to_lowercase: true
platform_instance_map: # optional
mysql: mysql1 # optional
kafka: kafkax
connect_to_platform_map: # optional
postgres_source: # optional - Connector name
postgres: postgres1 # optional - Platform to instance map
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ source:
connect_to_platform_map: # optional
postgres_source: # optional - Connector name
postgres: postgres1 # optional - Platform to instance map
kafka: kafka1
generic_connectors: # optional - Generic connector lineage info
- connector_name: generic-connector
source_dataset: generic-dataset
Expand Down
5 changes: 5 additions & 0 deletions perf-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ pip3 install locust
Note that it supports python versions 3.6 and up. Refer to
this [guide](https://docs.locust.io/en/stable/installation.html) for more details.

You will also need to import requirements in order to run the Locustfile scripts:
```shell
pip3 install -r requirements.txt
```

## Locustfiles

[Locustfiles](./locustfiles) define how the users will behave once they are spawned. Refer to
Expand Down

0 comments on commit b75ab5a

Please sign in to comment.