Schema Info

Schema Name: sfdl_stage_mssql.sitelink_facility_fin_stats_monthly
  • created: 2020-04-02 15:52:12
  • disabled: False
  • format: raw
  • id: 947
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_mssql",
        "table": "sitelink_facility_fin_stats_monthly"
    }
  • type: mssql
Schema Versions: 2
    • created: 2020-05-01 06:57:58
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_mssql`",
          "DROP TABLE IF EXISTS `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\n(\n `start_date`  timestamp , `end_date`  timestamp , `corp_code`  string , `location_code`  string , `revenue`  decimal(28,4) , `unpaid_charges`  decimal(28,4) , `unpaid_charges_units`  int \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_mssql.sitelink_facility_fin_stats_monthly"
      ]
    • hive_path: s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly
    • id: 264882
    • processed: 1
    • raw_data:
      {
          "corp_code": 2,
          "end_date": 1,
          "location_code": 3,
          "revenue": 4,
          "start_date": 0,
          "unpaid_charges": 5,
          "unpaid_charges_units": 6
      }
    • schema_attributes:
      {
          "corp_code": "string",
          "end_date": "timestamp",
          "location_code": "string",
          "revenue": "decimal(28,4)",
          "start_date": "timestamp",
          "unpaid_charges": "decimal(28,4)",
          "unpaid_charges_units": "int"
      }
    • schema_name_id: 947
    • schema_scan_id: 2720452
    • updated: 2020-05-01 06:58:14
    • created: 2020-04-02 15:52:12
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_mssql`",
          "DROP TABLE IF EXISTS `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\n(\n `start_date`  timestamp , `end_date`  timestamp , `corp_code`  string , `location_code`  string , `revenue`  decimal(28,4) , `unpaid_charges`  decimal(28,4) \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_mssql.sitelink_facility_fin_stats_monthly"
      ]
    • hive_path: s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly
    • id: 259667
    • processed: 1
    • raw_data:
      {
          "corp_code": 2,
          "end_date": 1,
          "location_code": 3,
          "revenue": 4,
          "start_date": 0,
          "unpaid_charges": 5
      }
    • schema_attributes:
      {
          "corp_code": "string",
          "end_date": "timestamp",
          "location_code": "string",
          "revenue": "decimal(28,4)",
          "start_date": "timestamp",
          "unpaid_charges": "decimal(28,4)"
      }
    • schema_name_id: 947
    • schema_scan_id: 2668728
    • updated: 2020-04-02 15:52:28
Schema Scans: 2
Last at 2020-05-01 06:57:58
    • duration: 0:00:18.697343
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 17,
          "partitions_applied": false,
          "success": true
      }
    • id: 2720452
    • payload:
      {
          "datatype_dict": {
              "corp_code": "string",
              "end_date": "timestamp",
              "location_code": "string",
              "revenue": "decimal(28,4)",
              "start_date": "timestamp",
              "unpaid_charges": "decimal(28,4)",
              "unpaid_charges_units": "int"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": true,
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2020-05-01",
              "name": "dt",
              "type": "string",
              "value": "2020-05-01"
          },
          "s3": {
              "bucket": "sfdl-mssql-sitelink-stage",
              "hive_path": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly",
              "key": "raw_incremental/facility_fin_stats_monthly/dt=2020-05-01/facility_fin_stats_monthly.dat.gz"
          },
          "schema": {
              "name": "sfdl_stage_mssql.sitelink_facility_fin_stats_monthly",
              "type": "mssql"
          },
          "trace_context": {
              "parent_id": 1684455529440801657,
              "service_name": "Default Service",
              "span_id": 6714762448269473764,
              "trace_id": 1684455529440801657
          }
      }
    • running: False
    • schema_name_id: 947
    • start_time: 2020-05-01 06:57:58
    • success: True
    • trace_id: 1684455529440801657
    • duration: 0:00:18.734870
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 15,
          "partitions_applied": false,
          "success": true
      }
    • id: 2668728
    • payload:
      {
          "datatype_dict": {
              "corp_code": "string",
              "end_date": "timestamp",
              "location_code": "string",
              "revenue": "decimal(28,4)",
              "start_date": "timestamp",
              "unpaid_charges": "decimal(28,4)"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": true,
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2019-02-01",
              "name": "dt",
              "type": "string",
              "value": "2019-02-01"
          },
          "s3": {
              "bucket": "sfdl-mssql-sitelink-stage",
              "hive_path": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly",
              "key": "raw_incremental/facility_fin_stats_monthly/dt=2019-02-01/facility_fin_stats_monthly.dat.gz"
          },
          "schema": {
              "name": "sfdl_stage_mssql.sitelink_facility_fin_stats_monthly",
              "type": "mssql"
          },
          "trace_context": {
              "parent_id": 2054273106405170275,
              "service_name": "Default Service",
              "span_id": 7398329476787646713,
              "trace_id": 2054273106405170275
          }
      }
    • running: False
    • schema_name_id: 947
    • start_time: 2020-04-02 15:52:12
    • success: True
    • trace_id: 2054273106405170275
Partitions:
  • count: 5
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\nADD\n\n\n PARTITION (dt='2025-11-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2025-11-01/'\n PARTITION (dt='2026-01-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-01-01/'\n PARTITION (dt='2026-02-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-02-01/'\n PARTITION (dt='2026-03-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-03-01/'\n PARTITION (dt='2026-04-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-04-01/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 652113,
                "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2025-11-01/",
                "name": "dt",
                "value": "2025-11-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-11-01 07:39:26",
                    "last_data": "2025-11-01 07:39:26"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 659938,
                "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-01-01/",
                "name": "dt",
                "value": "2026-01-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2026-01-01 06:33:25",
                    "last_data": "2026-01-01 06:33:25"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 666362,
                "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-02-01/",
                "name": "dt",
                "value": "2026-02-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2026-02-01 06:34:15",
                    "last_data": "2026-02-01 06:34:15"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 669654,
                "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-03-01/",
                "name": "dt",
                "value": "2026-03-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2026-03-01 06:37:43",
                    "last_data": "2026-03-01 06:37:43"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 673391,
                "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-04-01/",
                "name": "dt",
                "value": "2026-04-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2026-04-01 07:38:31",
                    "last_data": "2026-04-01 07:38:31"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "corp_code": "string",
        "end_date": "timestamp",
        "location_code": "string",
        "revenue": "decimal(28,4)",
        "start_date": "timestamp",
        "unpaid_charges": "decimal(28,4)",
        "unpaid_charges_units": "int"
    }
  • created: 2020-05-01 06:57:58
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_mssql`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\n(\n `start_date`  timestamp , `end_date`  timestamp , `corp_code`  string , `location_code`  string , `revenue`  decimal(28,4) , `unpaid_charges`  decimal(28,4) , `unpaid_charges_units`  int \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_mssql.sitelink_facility_fin_stats_monthly"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2020-04-02 15:52:12",
        "disabled": false,
        "format": "raw",
        "id": 947,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_mssql",
            "table": "sitelink_facility_fin_stats_monthly"
        },
        "type": "mssql"
    },
    "partition": {
        "count": 5,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\nADD\n\n\n PARTITION (dt='2025-11-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2025-11-01/'\n PARTITION (dt='2026-01-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-01-01/'\n PARTITION (dt='2026-02-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-02-01/'\n PARTITION (dt='2026-03-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-03-01/'\n PARTITION (dt='2026-04-01') location 's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-04-01/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 652113,
                    "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2025-11-01/",
                    "name": "dt",
                    "value": "2025-11-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-11-01 07:39:26",
                        "last_data": "2025-11-01 07:39:26"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 659938,
                    "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-01-01/",
                    "name": "dt",
                    "value": "2026-01-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2026-01-01 06:33:25",
                        "last_data": "2026-01-01 06:33:25"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 666362,
                    "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-02-01/",
                    "name": "dt",
                    "value": "2026-02-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2026-02-01 06:34:15",
                        "last_data": "2026-02-01 06:34:15"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 669654,
                    "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-03-01/",
                    "name": "dt",
                    "value": "2026-03-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2026-03-01 06:37:43",
                        "last_data": "2026-03-01 06:37:43"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 673391,
                    "location": "s3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly/dt=2026-04-01/",
                    "name": "dt",
                    "value": "2026-04-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2026-04-01 07:38:31",
                        "last_data": "2026-04-01 07:38:31"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "corp_code": "string",
            "end_date": "timestamp",
            "location_code": "string",
            "revenue": "decimal(28,4)",
            "start_date": "timestamp",
            "unpaid_charges": "decimal(28,4)",
            "unpaid_charges_units": "int"
        },
        "created": "2020-05-01 06:57:58",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_mssql`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`\n(\n `start_date`  timestamp , `end_date`  timestamp , `corp_code`  string , `location_code`  string , `revenue`  decimal(28,4) , `unpaid_charges`  decimal(28,4) , `unpaid_charges_units`  int \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe'\n WITH SERDEPROPERTIES ( 'field.delim' = '\u0001', 'quote.delim' = '\"', 'escape.delim' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-mssql-sitelink-stage/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_mssql.sitelink_facility_fin_stats_monthly`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_mssql.sitelink_facility_fin_stats_monthly"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}