-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(profiler): using approximate queries for profiling (#3752)
- Loading branch information
Showing
2 changed files
with
143 additions
and
21 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
metadata-ingestion/examples/recipes/redshift_to_datahub.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# see https://datahubproject.io/docs/metadata-ingestion/source_docs/redshift for complete documentation | ||
source: | ||
type: "redshift" | ||
config: | ||
# Coordinates | ||
host_port: host:port | ||
database: database_name | ||
options: | ||
connect_args: | ||
sslmode: prefer | ||
# Credentials | ||
username: datahub | ||
password: datahub | ||
#include_tables: true | ||
#include_views: true | ||
#include_table_lineage: true | ||
#default_schema: public | ||
#table_lineage_mode: stl_scan_based | ||
#include_copy_lineage: true | ||
#start_time: 2020-12-15T20:08:23.091Z | ||
#end_time: 2023-12-15T20:08:23.091Z | ||
#profiling: | ||
# enabled: true | ||
# turn_off_expensive_profiling_metrics: false | ||
# limit: 10 | ||
# query_combiner_enabled: true | ||
# max_number_of_fields_to_profile: 8 | ||
# profile_table_level_only: false | ||
# include_field_null_count: true | ||
# include_field_min_value: true | ||
# include_field_max_value: true | ||
# include_field_mean_value: true | ||
# include_field_median_value: true | ||
# include_field_stddev_value: false | ||
# include_field_quantiles: false | ||
# include_field_distinct_value_frequencies: false | ||
# include_field_histogram: false | ||
# include_field_sample_values: false | ||
#profile_pattern: | ||
# allow: | ||
# - "schema.table.column" | ||
# deny: | ||
# - "*.*.*" | ||
|
||
# see https://datahubproject.io/docs/metadata-ingestion/sink_docs/datahub for complete documentation | ||
sink: | ||
type: "datahub-rest" | ||
config: | ||
server: "http://localhost:8080" |
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