Schema Info

Schema Name: sfdl_dev_mssql.sitelink_facility_fin_stats_monthly
  • created: 2019-11-20 10:52:22
  • disabled: False
  • format: raw
  • id: 1446
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_dev_mssql",
        "table": "sitelink_facility_fin_stats_monthly"
    }
  • type: mssql
Schema Versions: 2
    • created: 2020-07-30 16:23:05
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_mssql`",
          "DROP TABLE IF EXISTS `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_dev_mssql.sitelink_facility_fin_stats_monthly"
      ]
    • hive_path: s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly
    • id: 4680460
    • 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: 1446
    • schema_scan_id: 5656507
    • updated: 2020-07-30 16:23:18
    • created: 2019-11-20 10:52:22
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_mssql`",
          "DROP TABLE IF EXISTS `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`\n(\n `start_date`  timestamp , `end_date`  timestamp , `corp_code`  string , `location_code`  string , `revenue`  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-dev/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_dev_mssql.sitelink_facility_fin_stats_monthly"
      ]
    • hive_path: s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly
    • id: 4674739
    • processed: 1
    • raw_data:
      {
          "corp_code": 2,
          "end_date": 1,
          "location_code": 3,
          "revenue": 4,
          "start_date": 0
      }
    • schema_attributes:
      {
          "corp_code": "string",
          "end_date": "timestamp",
          "location_code": "string",
          "revenue": "decimal(28,4)",
          "start_date": "timestamp"
      }
    • schema_name_id: 1446
    • schema_scan_id: 5289379
    • updated: 2019-11-20 10:52:37
Schema Scans: 2
Last at 2020-07-30 16:23:05
    • duration: 0:00:16.322143
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 15,
          "partitions_applied": false,
          "success": true
      }
    • id: 5656507
    • 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-dev/raw_incremental/facility_fin_stats_monthly/dt=2020-02-01",
              "name": "dt",
              "type": "string",
              "value": "2020-02-01"
          },
          "s3": {
              "bucket": "sfdl-mssql-sitelink-dev",
              "hive_path": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly",
              "key": "raw_incremental/facility_fin_stats_monthly/dt=2020-02-01/facility_fin_stats_monthly.dat.gz"
          },
          "schema": {
              "name": "sfdl_dev_mssql.sitelink_facility_fin_stats_monthly",
              "type": "mssql"
          },
          "trace_context": {
              "parent_id": 7860372691806702877,
              "service_name": "Default Service",
              "span_id": 7726328118728152198,
              "trace_id": 7860372691806702877
          }
      }
    • running: False
    • schema_name_id: 1446
    • start_time: 2020-07-30 16:23:05
    • success: True
    • trace_id: 7860372691806702877
    • duration: 0:00:18.587877
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 12,
          "partitions_applied": false,
          "success": true
      }
    • id: 5289379
    • payload:
      {
          "datatype_dict": {
              "corp_code": "string",
              "end_date": "timestamp",
              "location_code": "string",
              "revenue": "decimal(28,4)",
              "start_date": "timestamp"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": true,
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2019-06-01",
              "name": "dt",
              "type": "string",
              "value": "2019-06-01"
          },
          "s3": {
              "bucket": "sfdl-mssql-sitelink-dev",
              "hive_path": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly",
              "key": "raw_incremental/facility_fin_stats_monthly/dt=2019-06-01/facility_fin_stats_monthly.dat.gz"
          },
          "schema": {
              "name": "sfdl_dev_mssql.sitelink_facility_fin_stats_monthly",
              "type": "mssql"
          },
          "trace_context": {
              "parent_id": 13142778744303677143,
              "service_name": "Default Service",
              "span_id": 13390225298170865383,
              "trace_id": 13142778744303677143
          }
      }
    • running: False
    • schema_name_id: 1446
    • start_time: 2019-11-20 10:52:22
    • success: True
    • trace_id: 13142778744303677143
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`\nADD\n\n\n PARTITION (dt='2020-08-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2020-08-01/'\n PARTITION (dt='2024-02-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-02-01/'\n PARTITION (dt='2024-03-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-03-01/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 158216,
                "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2020-08-01/",
                "name": "dt",
                "value": "2020-08-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2020-08-01 06:48:27",
                    "last_data": "2020-08-01 06:48:27"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 245593,
                "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-02-01/",
                "name": "dt",
                "value": "2024-02-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-02-01 10:59:05",
                    "last_data": "2024-02-01 10:59:05"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 249695,
                "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-03-01/",
                "name": "dt",
                "value": "2024-03-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-03-01 06:15:05",
                    "last_data": "2024-03-01 06:15:05"
                },
                "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-07-30 16:23:05
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_mssql`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_mssql.sitelink_facility_fin_stats_monthly"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2019-11-20 10:52:22",
        "disabled": false,
        "format": "raw",
        "id": 1446,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_dev_mssql",
            "table": "sitelink_facility_fin_stats_monthly"
        },
        "type": "mssql"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`\nADD\n\n\n PARTITION (dt='2020-08-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2020-08-01/'\n PARTITION (dt='2024-02-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-02-01/'\n PARTITION (dt='2024-03-01') location 's3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-03-01/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 158216,
                    "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2020-08-01/",
                    "name": "dt",
                    "value": "2020-08-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2020-08-01 06:48:27",
                        "last_data": "2020-08-01 06:48:27"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 245593,
                    "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-02-01/",
                    "name": "dt",
                    "value": "2024-02-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-02-01 10:59:05",
                        "last_data": "2024-02-01 10:59:05"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 249695,
                    "location": "s3://sfdl-mssql-sitelink-dev/raw_incremental/facility_fin_stats_monthly/dt=2024-03-01/",
                    "name": "dt",
                    "value": "2024-03-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-03-01 06:15:05",
                        "last_data": "2024-03-01 06:15:05"
                    },
                    "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-07-30 16:23:05",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_mssql`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/raw_incremental/facility_fin_stats_monthly'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_mssql.sitelink_facility_fin_stats_monthly`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_mssql.sitelink_facility_fin_stats_monthly"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}