Schema Info

Schema Name: sfdl_dev_redshift.analytics_helper_facility_status
  • created: 2024-01-29 18:04:07
  • disabled: False
  • format: raw
  • id: 2264
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_dev_redshift",
        "table": "analytics_helper_facility_status"
    }
  • type: redshift
Schema Versions: 3
    • created: 2024-08-14 13:08:53
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
          "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/separated_dt/helper_facility_status/2024-08-14/1723658919'\n",
          "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919
    • id: 4708844
    • 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: 2264
    • schema_scan_id: 6565642
    • updated: 2024-08-14 13:09:07
    • created: 2024-05-14 05:51:51
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
          "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/separated_dt/helper_facility_status/2024-05-14/1715683898'\n",
          "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898
    • id: 4705889
    • 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: 2264
    • schema_scan_id: 6490573
    • updated: 2024-05-14 05:52:02
    • created: 2024-05-13 15:40:16
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
          "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_helper_facility_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/separated_dt/helper_facility_status/2024-05-13/1715632808'\n",
          "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_helper_facility_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808
    • id: 4705776
    • 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: 2264
    • schema_scan_id: 6490208
    • updated: 2024-05-13 15:40:30
Schema Scans: 3
Last at 2024-08-14 13:08:53
    • duration: 0:00:16.929624
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6565642
    • 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-dev",
                  "key": "meta/helper_facility_status/2024-08-14/1723658919/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13",
              "name": "dt",
              "type": "string",
              "value": "2024-08-13"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-dev",
              "hive_path": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919",
              "key": "separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13/0003_part_00.gz"
          },
          "schema": {
              "name": "sfdl_dev_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 5344518357005924378,
              "service_name": "redshift_unloads",
              "span_id": 1128288501858795616,
              "trace_id": 17972767547242606030
          }
      }
    • running: False
    • schema_name_id: 2264
    • start_time: 2024-08-14 13:08:53
    • success: True
    • trace_id: 17972767547242606030
    • duration: 0:00:14.455886
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 2,
          "partitions_applied": false,
          "success": true
      }
    • id: 6490573
    • 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-dev",
                  "key": "meta/helper_facility_status/2024-05-14/1715683898/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13",
              "name": "dt",
              "type": "string",
              "value": "2024-05-13"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-dev",
              "hive_path": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898",
              "key": "separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13/0006_part_00.gz"
          },
          "schema": {
              "name": "sfdl_dev_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 14398320175342764521,
              "service_name": "redshift_unloads",
              "span_id": 15141595081290548385,
              "trace_id": 15905483304932232723
          }
      }
    • running: False
    • schema_name_id: 2264
    • start_time: 2024-05-14 05:51:50
    • success: True
    • trace_id: 15905483304932232723
    • duration: 0:00:17.021062
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6490208
    • 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-dev",
                  "key": "meta/helper_facility_status/2024-05-13/1715632808/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12",
              "name": "dt",
              "type": "string",
              "value": "2024-05-12"
          },
          "s3": {
              "bucket": "sfdl-redshift-analytics-dev",
              "hive_path": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808",
              "key": "separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12/0003_part_00.gz"
          },
          "schema": {
              "name": "sfdl_dev_redshift.analytics_helper_facility_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 3111545929951812296,
              "service_name": "redshift_unloads",
              "span_id": 5112129870244387204,
              "trace_id": 2596010415195055394
          }
      }
    • running: False
    • schema_name_id: 2264
    • start_time: 2024-05-13 15:40:16
    • success: True
    • trace_id: 2596010415195055394
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_redshift.analytics_helper_facility_status`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 253959,
                "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12/",
                "name": "dt",
                "value": "2024-05-12"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-05-13 15:40:16",
                    "last_data": "2024-05-13 15:40:16"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 254008,
                "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13/",
                "name": "dt",
                "value": "2024-05-13"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-05-14 05:51:51",
                    "last_data": "2024-05-14 05:51:51"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 259709,
                "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13/",
                "name": "dt",
                "value": "2024-08-13"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-08-14 13:08:53",
                    "last_data": "2024-08-14 13:08:53"
                },
                "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: 2024-08-14 13:08:53
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/separated_dt/helper_facility_status/2024-08-14/1723658919'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_helper_facility_status`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_helper_facility_status"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2024-01-29 18:04:07",
        "disabled": false,
        "format": "raw",
        "id": 2264,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_dev_redshift",
            "table": "analytics_helper_facility_status"
        },
        "type": "redshift"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_redshift.analytics_helper_facility_status`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 253959,
                    "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-13/1715632808/dt=2024-05-12/",
                    "name": "dt",
                    "value": "2024-05-12"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-05-13 15:40:16",
                        "last_data": "2024-05-13 15:40:16"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 254008,
                    "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-05-14/1715683898/dt=2024-05-13/",
                    "name": "dt",
                    "value": "2024-05-13"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-05-14 05:51:51",
                        "last_data": "2024-05-14 05:51:51"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 259709,
                    "location": "s3://sfdl-redshift-analytics-dev/separated_dt/helper_facility_status/2024-08-14/1723658919/dt=2024-08-13/",
                    "name": "dt",
                    "value": "2024-08-13"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-08-14 13:08:53",
                        "last_data": "2024-08-14 13:08:53"
                    },
                    "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": "2024-08-14 13:08:53",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_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-dev/separated_dt/helper_facility_status/2024-08-14/1723658919'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.analytics_helper_facility_status`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.analytics_helper_facility_status"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}