Skip to content

table_comparison_results

Controller that returns the results of the most recent table comparison that was performed between the compared table and the reference table (the source of truth).


get_table_comparison_monitoring_results

Retrieves the results of the most table comparison performed using the monitoring comparison checks.
Source code

GET

http://localhost:8888/api/connections/{connectionName}/schemas/{schemaName}/tables/{tableName}/monitoring/{timeScale}/comparisons/{tableComparisonConfigurationName}/results  

Return value

 Property name   Description                       Data type 
table_comparison_results_model TableComparisonResultsModel

Parameters of this method are described below

 Property name   Description                       Data type   Required 
connection_name Connection name string
schema_name Schema name string
table_name Table name string
time_scale Time scale CheckTimeScale
table_comparison_configuration_name Table comparison configuration name string

Usage examples

curl http://localhost:8888/api/connections/sample_connection/schemas/sample_schema/tables/sample_table/monitoring/"daily"/comparisons/sample_table_comparison/results^
    -H "Accept: application/json"

get_table_comparison_partitioned_results

Retrieves the results of the most table comparison performed using the partitioned comparison checks, comparing days or months of data.
Source code

GET

http://localhost:8888/api/connections/{connectionName}/schemas/{schemaName}/tables/{tableName}/partitioned/{timeScale}/comparisons/{tableComparisonConfigurationName}/results  

Return value

 Property name   Description                       Data type 
table_comparison_results_model TableComparisonResultsModel

Parameters of this method are described below

 Property name   Description                       Data type   Required 
connection_name Connection name string
schema_name Schema name string
table_name Table name string
time_scale Time scale CheckTimeScale
table_comparison_configuration_name Table comparison configuration name string

Usage examples

curl http://localhost:8888/api/connections/sample_connection/schemas/sample_schema/tables/sample_table/partitioned/"daily"/comparisons/sample_table_comparison/results^
    -H "Accept: application/json"

get_table_comparison_profiling_results

Retrieves the results of the most table comparison performed using the profiling checks comparison checks.
Source code

GET

http://localhost:8888/api/connections/{connectionName}/schemas/{schemaName}/tables/{tableName}/profiling/comparisons/{tableComparisonConfigurationName}/results  

Return value

 Property name   Description                       Data type 
table_comparison_results_model TableComparisonResultsModel

Parameters of this method are described below

 Property name   Description                       Data type   Required 
connection_name Connection name string
schema_name Schema name string
table_name Table name string
table_comparison_configuration_name Table comparison configuration name string

Usage examples

curl http://localhost:8888/api/connections/sample_connection/schemas/sample_schema/tables/sample_table/profiling/comparisons/sample_table_comparison/results^
    -H "Accept: application/json"