mykola_zavada
10/19/2023, 12:36 PMrecord_count as it shows not exactly the number of records that has been inserted. In this example this iteration delivered exactly 250,000 records. What does the singer_sfk metric record_count mean?
singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 249964, "tags": {"stream": "public-table_name", "context": {}}}
name=target_snowflake message=Flush triggered by batch_size_rows (250000) reached in public-table_name
name=target_snowflake message=Uploading 250000 rows to stage
name=target_snowflake message=Loading 250000 rows into "table_name"
name=target_snowflake message=Loading into PROD_POSTGRES_DB_SCD."table_name": {"inserts": 250000, "updates": 0, "size_bytes": 10546932}edgar_ramirez_mondragon
10/19/2023, 2:37 PMrecord_count metric message you see?mykola_zavada
10/19/2023, 3:12 PMsinger_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 196808, "tags": {"stream": "public-decision_tree_patient_request", "context": {}}}
singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 209960, "tags": {"stream": "public-decision_tree_patient_request", "context": {}}}
message=Flush triggered by batch_size_rows (250000) reached in public-decision_tree_patient_request
message=Uploading 250000 rows to stage │
message=Loading 250000 rows into 'PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST"'
message=Loading into PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST": {"inserts": 250000, "updates": 0, "size_bytes": 34397997}
message=Emitting state {"bookmarks": {"public-decision_tree_patient_request": {"replication_key_signpost": "2023-10-19T13:55:53.645203+00:00", "starting_replication_value": null, " │
Incremental state has been updated at 2023-10-19 15:01:42.811357.
singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 79978, "tags": {"stream": "public-decision_tree_patient_request", "context": {}}}
singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 207160, "tags": {"stream": "public-decision_tree_patient_request", "context": {}}}
message=Flush triggered by batch_size_rows (250000) reached in public-decision_tree_patient_request
message=Uploading 250000 rows to stage
message=Loading 250000 rows into 'PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST"'
message=Loading into PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST": {"inserts": 250000, "updates": 0, "size_bytes": 34433573}
message=Emitting state {"bookmarks": {"public-decision_tree_patient_request": {"replication_key_signpost": "2023-10-19T13:55:53.645203+00:00", "starting_replication_value": null, " │
Incremental state has been updated at 2023-10-19 15:03:29.706612. │
singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 91771, "tags": {"stream": "public-decision_tree_patient_request", "context": {}}}
message=Flush triggered by batch_size_rows (250000) reached in public-decision_tree_patient_request
message=Uploading 250000 rows to stage
message=Loading 250000 rows into 'PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST"'
message=Loading into PROD_POSTGRES_DB_SCD."DECISION_TREE_PATIENT_REQUEST": {"inserts": 250000, "updates": 0, "size_bytes": 34350380}
message=Emitting state {"bookmarks": {"public-decision_tree_patient_request": {"replication_key_signpost": "2023-10-19T13:55:53.645203+00:00", "starting_replication_value": null, "
Incremental state has been updated at 2023-10-19 15:05:14.840612.
I use tap-postgres by meltanolabs and target-snowflake by transferwiseedgar_ramirez_mondragon
10/19/2023, 4:02 PMmykola_zavada
10/19/2023, 6:36 PM