Schema Info

Schema Name: sfdl_stage_redshift.analytics_helper_facility_status
  • created: 2018-02-21 13:04:37
  • disabled: False
  • format: raw
  • id: 408
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_redshift",
        "table": "analytics_helper_facility_status"
    }
  • type: redshift
Schema Versions: 3
    • created: 2025-04-23 03:02:44
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_facility_status`\n(\n `day_key`  int , `day`  date , `facility_key`  int , `facility_status`  varchar(40) , `imputed`  int , `_origin`  string \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-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238
    • id: 837314
    • processed: 1
    • raw_data:
      {
          "_origin": "5",
          "day": "1",
          "day_key": "0",
          "facility_key": "2",
          "facility_status": "3",
          "imputed": "4"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "day": "date",
          "day_key": "int",
          "facility_key": "int",
          "facility_status": "varchar(40)",
          "imputed": "int"
      }
    • schema_name_id: 408
    • schema_scan_id: 6263695
    • updated: 2025-04-23 03:03:23
    • created: 2025-04-22 02:54:48
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_facility_status`\n(\n `day_key`  int , `day`  date , `facility_key`  int , `facility_status`  varchar(40) , `imputed`  int , `_origin`  string \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-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361
    • id: 837111
    • processed: 1
    • raw_data:
      {
          "_origin": "5",
          "day": "1",
          "day_key": "0",
          "facility_key": "2",
          "facility_status": "3",
          "imputed": "4"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "day": "date",
          "day_key": "int",
          "facility_key": "int",
          "facility_status": "varchar(40)",
          "imputed": "int"
      }
    • schema_name_id: 408
    • schema_scan_id: 6263271
    • updated: 2025-04-22 02:55:27
    • created: 2025-04-21 02:48:59
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_facility_status`\n(\n `day_key`  int , `day`  date , `facility_key`  int , `facility_status`  varchar(40) , `imputed`  int , `_origin`  string \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-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615
    • id: 836906
    • processed: 1
    • raw_data:
      {
          "_origin": "5",
          "day": "1",
          "day_key": "0",
          "facility_key": "2",
          "facility_status": "3",
          "imputed": "4"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "day": "date",
          "day_key": "int",
          "facility_key": "int",
          "facility_status": "varchar(40)",
          "imputed": "int"
      }
    • schema_name_id: 408
    • schema_scan_id: 6262790
    • updated: 2025-04-21 02:49:36
Schema Scans: 3
Last at 2025-04-23 03:02:43
    • duration: 0:01:02.666184
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1363,
          "partitions_applied": false,
          "success": true
      }
    • id: 6263695
    • payload:
      {
          "datatype_dict": {
              "day": "date",
              "day_key": "int",
              "facility_key": "int",
              "facility_status": "varchar(40)",
              "imputed": "int",
              "origin_key": "varchar"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_facility_status/2025-04-23/1745395238/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22",
              "name": "dt",
              "type": "string",
              "value": "2025-04-22"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-stage",
              "hive_path": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238",
              "key": "separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22/0006_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 13747337069445651248,
              "service_name": "redshift_unloads",
              "span_id": 88997199216299777,
              "trace_id": 14616830687410100735
          }
      }
    • running: False
    • schema_name_id: 408
    • start_time: 2025-04-23 03:02:43
    • success: True
    • trace_id: 14616830687410100735
    • duration: 0:01:02.568127
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1362,
          "partitions_applied": false,
          "success": true
      }
    • id: 6263271
    • payload:
      {
          "datatype_dict": {
              "day": "date",
              "day_key": "int",
              "facility_key": "int",
              "facility_status": "varchar(40)",
              "imputed": "int",
              "origin_key": "varchar"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_facility_status/2025-04-22/1745308361/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21",
              "name": "dt",
              "type": "string",
              "value": "2025-04-21"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-stage",
              "hive_path": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361",
              "key": "separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21/0005_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 14711445528743890900,
              "service_name": "redshift_unloads",
              "span_id": 14474921422180871769,
              "trace_id": 60198461287482977
          }
      }
    • running: False
    • schema_name_id: 408
    • start_time: 2025-04-22 02:54:47
    • success: True
    • trace_id: 60198461287482977
    • duration: 0:00:58.772497
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1361,
          "partitions_applied": false,
          "success": true
      }
    • id: 6262790
    • payload:
      {
          "datatype_dict": {
              "day": "date",
              "day_key": "int",
              "facility_key": "int",
              "facility_status": "varchar(40)",
              "imputed": "int",
              "origin_key": "varchar"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_facility_status/2025-04-21/1745221615/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20",
              "name": "dt",
              "type": "string",
              "value": "2025-04-20"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-stage",
              "hive_path": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615",
              "key": "separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20/0001_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 15565014551700195876,
              "service_name": "redshift_unloads",
              "span_id": 12517056456394927570,
              "trace_id": 4228176208346599645
          }
      }
    • running: False
    • schema_name_id: 408
    • start_time: 2025-04-21 02:48:58
    • success: True
    • trace_id: 4228176208346599645
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_redshift.analytics_helper_facility_status`\nADD\n\n\n PARTITION (dt='2025-04-20') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20/'\n PARTITION (dt='2025-04-21') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21/'\n PARTITION (dt='2025-04-22') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 620849,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20/",
                "name": "dt",
                "value": "2025-04-20"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-21 02:48:59",
                    "last_data": "2025-04-21 02:48:59"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 621009,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21/",
                "name": "dt",
                "value": "2025-04-21"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-22 02:54:48",
                    "last_data": "2025-04-22 02:54:48"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 621154,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22/",
                "name": "dt",
                "value": "2025-04-22"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-23 03:02:44",
                    "last_data": "2025-04-23 03:02:44"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "_origin": "string",
        "day": "date",
        "day_key": "int",
        "facility_key": "int",
        "facility_status": "varchar(40)",
        "imputed": "int"
    }
  • created: 2025-04-23 03:02:44
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_facility_status`\n(\n `day_key`  int , `day`  date , `facility_key`  int , `facility_status`  varchar(40) , `imputed`  int , `_origin`  string \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-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_facility_status`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_facility_status"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2018-02-21 13:04:37",
        "disabled": false,
        "format": "raw",
        "id": 408,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_redshift",
            "table": "analytics_helper_facility_status"
        },
        "type": "redshift"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_redshift.analytics_helper_facility_status`\nADD\n\n\n PARTITION (dt='2025-04-20') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20/'\n PARTITION (dt='2025-04-21') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21/'\n PARTITION (dt='2025-04-22') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 620849,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-21/1745221615/dt=2025-04-20/",
                    "name": "dt",
                    "value": "2025-04-20"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-21 02:48:59",
                        "last_data": "2025-04-21 02:48:59"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 621009,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-22/1745308361/dt=2025-04-21/",
                    "name": "dt",
                    "value": "2025-04-21"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-22 02:54:48",
                        "last_data": "2025-04-22 02:54:48"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 621154,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238/dt=2025-04-22/",
                    "name": "dt",
                    "value": "2025-04-22"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-23 03:02:44",
                        "last_data": "2025-04-23 03:02:44"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "_origin": "string",
            "day": "date",
            "day_key": "int",
            "facility_key": "int",
            "facility_status": "varchar(40)",
            "imputed": "int"
        },
        "created": "2025-04-23 03:02:44",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_facility_status`\n(\n `day_key`  int , `day`  date , `facility_key`  int , `facility_status`  varchar(40) , `imputed`  int , `_origin`  string \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-redshift-analytics-stage/separated_dt/helper_facility_status/2025-04-23/1745395238'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_facility_status`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_facility_status"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}