Schema Info

Schema Name: sfdl_stage_redshift.analytics_helper_visitor_status
  • created: 2018-02-21 00:36:32
  • disabled: False
  • format: raw
  • id: 402
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_redshift",
        "table": "analytics_helper_visitor_status"
    }
  • type: redshift
Schema Versions: 3
    • created: 2025-04-23 03:10:50
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_visitor_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_visitor_status`\n(\n `visitor_key`  bigint , `is_good_visitor`  int , `visitor_day_key`  int , `is_image_verified`  int , `is_filtered_ip`  int , `is_problem_visitor`  int , `is_bad_api_site_visitor`  int , `has_web_valid_res`  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_visitor_status/2025-04-23/1745395252'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_visitor_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252
    • id: 837317
    • processed: 1
    • raw_data:
      {
          "_origin": "8",
          "has_web_valid_res": "7",
          "is_bad_api_site_visitor": "6",
          "is_filtered_ip": "4",
          "is_good_visitor": "1",
          "is_image_verified": "3",
          "is_problem_visitor": "5",
          "visitor_day_key": "2",
          "visitor_key": "0"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "has_web_valid_res": "int",
          "is_bad_api_site_visitor": "int",
          "is_filtered_ip": "int",
          "is_good_visitor": "int",
          "is_image_verified": "int",
          "is_problem_visitor": "int",
          "visitor_day_key": "int",
          "visitor_key": "bigint"
      }
    • schema_name_id: 402
    • schema_scan_id: 6263700
    • updated: 2025-04-23 03:11:34
    • created: 2025-04-22 03:03:31
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_visitor_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_visitor_status`\n(\n `visitor_key`  bigint , `is_good_visitor`  int , `visitor_day_key`  int , `is_image_verified`  int , `is_filtered_ip`  int , `is_problem_visitor`  int , `is_bad_api_site_visitor`  int , `has_web_valid_res`  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_visitor_status/2025-04-22/1745308756'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_visitor_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756
    • id: 837115
    • processed: 1
    • raw_data:
      {
          "_origin": "8",
          "has_web_valid_res": "7",
          "is_bad_api_site_visitor": "6",
          "is_filtered_ip": "4",
          "is_good_visitor": "1",
          "is_image_verified": "3",
          "is_problem_visitor": "5",
          "visitor_day_key": "2",
          "visitor_key": "0"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "has_web_valid_res": "int",
          "is_bad_api_site_visitor": "int",
          "is_filtered_ip": "int",
          "is_good_visitor": "int",
          "is_image_verified": "int",
          "is_problem_visitor": "int",
          "visitor_day_key": "int",
          "visitor_key": "bigint"
      }
    • schema_name_id: 402
    • schema_scan_id: 6263275
    • updated: 2025-04-22 03:04:16
    • created: 2025-04-21 02:52:22
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_redshift`",
          "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_visitor_status`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_redshift.analytics_helper_visitor_status`\n(\n `visitor_key`  bigint , `is_good_visitor`  int , `visitor_day_key`  int , `is_image_verified`  int , `is_filtered_ip`  int , `is_problem_visitor`  int , `is_bad_api_site_visitor`  int , `has_web_valid_res`  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_visitor_status/2025-04-21/1745221693'\n",
          "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_visitor_status"
      ]
    • hive_path: s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693
    • id: 836907
    • processed: 1
    • raw_data:
      {
          "_origin": "8",
          "has_web_valid_res": "7",
          "is_bad_api_site_visitor": "6",
          "is_filtered_ip": "4",
          "is_good_visitor": "1",
          "is_image_verified": "3",
          "is_problem_visitor": "5",
          "visitor_day_key": "2",
          "visitor_key": "0"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "has_web_valid_res": "int",
          "is_bad_api_site_visitor": "int",
          "is_filtered_ip": "int",
          "is_good_visitor": "int",
          "is_image_verified": "int",
          "is_problem_visitor": "int",
          "visitor_day_key": "int",
          "visitor_key": "bigint"
      }
    • schema_name_id: 402
    • schema_scan_id: 6262793
    • updated: 2025-04-21 02:53:01
Schema Scans: 3
Last at 2025-04-23 03:10:49
    • duration: 0:01:15.778900
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1695,
          "partitions_applied": false,
          "success": true
      }
    • id: 6263700
    • payload:
      {
          "datatype_dict": {
              "has_web_valid_res": "int",
              "is_bad_api_site_visitor": "int",
              "is_filtered_ip": "int",
              "is_good_visitor": "int",
              "is_image_verified": "int",
              "is_problem_visitor": "int",
              "origin_key": "varchar",
              "visitor_day_key": "int",
              "visitor_key": "bigint"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_visitor_status/2025-04-23/1745395252/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252/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_visitor_status/2025-04-23/1745395252",
              "key": "separated_dt/helper_visitor_status/2025-04-23/1745395252/dt=2025-04-22/0006_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_visitor_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 11561080234418711777,
              "service_name": "redshift_unloads",
              "span_id": 14923599945224290695,
              "trace_id": 15723247323988146055
          }
      }
    • running: False
    • schema_name_id: 402
    • start_time: 2025-04-23 03:10:49
    • success: True
    • trace_id: 15723247323988146055
    • duration: 0:01:15.630260
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1694,
          "partitions_applied": false,
          "success": true
      }
    • id: 6263275
    • payload:
      {
          "datatype_dict": {
              "has_web_valid_res": "int",
              "is_bad_api_site_visitor": "int",
              "is_filtered_ip": "int",
              "is_good_visitor": "int",
              "is_image_verified": "int",
              "is_problem_visitor": "int",
              "origin_key": "varchar",
              "visitor_day_key": "int",
              "visitor_key": "bigint"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_visitor_status/2025-04-22/1745308756/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756/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_visitor_status/2025-04-22/1745308756",
              "key": "separated_dt/helper_visitor_status/2025-04-22/1745308756/dt=2025-04-21/0005_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_visitor_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 6183820664032241812,
              "service_name": "redshift_unloads",
              "span_id": 7103168864566842507,
              "trace_id": 6080632994384682286
          }
      }
    • running: False
    • schema_name_id: 402
    • start_time: 2025-04-22 03:03:31
    • success: True
    • trace_id: 6080632994384682286
    • duration: 0:01:08.748579
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1693,
          "partitions_applied": false,
          "success": true
      }
    • id: 6262793
    • payload:
      {
          "datatype_dict": {
              "has_web_valid_res": "int",
              "is_bad_api_site_visitor": "int",
              "is_filtered_ip": "int",
              "is_good_visitor": "int",
              "is_image_verified": "int",
              "is_problem_visitor": "int",
              "origin_key": "varchar",
              "visitor_day_key": "int",
              "visitor_key": "bigint"
          },
          "file_format": "dat",
          "file_properties": {
              "data_has_header_row": false,
              "header_s3_object": {
                  "bucket": "sfdl-redshift-analytics-stage",
                  "key": "meta/helper_visitor_status/2025-04-21/1745221693/header.json"
              },
              "serde_properties": {
                  "separatorChar": "\u0001"
              }
          },
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693/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_visitor_status/2025-04-21/1745221693",
              "key": "separated_dt/helper_visitor_status/2025-04-21/1745221693/dt=2025-04-20/0001_part_00.gz"
          },
          "schema": {
              "name": "sfdl_stage_redshift.analytics_helper_visitor_status",
              "type": "redshift"
          },
          "trace_context": {
              "parent_id": 2442925767892414290,
              "service_name": "redshift_unloads",
              "span_id": 7485431945347806782,
              "trace_id": 7315223367084009606
          }
      }
    • running: False
    • schema_name_id: 402
    • start_time: 2025-04-21 02:52:21
    • success: True
    • trace_id: 7315223367084009606
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_redshift.analytics_helper_visitor_status`\nADD\n\n\n PARTITION (dt='2025-04-20') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693/dt=2025-04-20/'\n PARTITION (dt='2025-04-21') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756/dt=2025-04-21/'\n PARTITION (dt='2025-04-22') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252/dt=2025-04-22/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 620852,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693/dt=2025-04-20/",
                "name": "dt",
                "value": "2025-04-20"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-21 02:52:22",
                    "last_data": "2025-04-21 02:52:22"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 621012,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756/dt=2025-04-21/",
                "name": "dt",
                "value": "2025-04-21"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-22 03:03:31",
                    "last_data": "2025-04-22 03:03:31"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 621159,
                "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252/dt=2025-04-22/",
                "name": "dt",
                "value": "2025-04-22"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2025-04-23 03:10:50",
                    "last_data": "2025-04-23 03:10:50"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "_origin": "string",
        "has_web_valid_res": "int",
        "is_bad_api_site_visitor": "int",
        "is_filtered_ip": "int",
        "is_good_visitor": "int",
        "is_image_verified": "int",
        "is_problem_visitor": "int",
        "visitor_day_key": "int",
        "visitor_key": "bigint"
    }
  • created: 2025-04-23 03:10:50
  • 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_visitor_status`\n(\n `visitor_key`  bigint , `is_good_visitor`  int , `visitor_day_key`  int , `is_image_verified`  int , `is_filtered_ip`  int , `is_problem_visitor`  int , `is_bad_api_site_visitor`  int , `has_web_valid_res`  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_visitor_status/2025-04-23/1745395252'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_visitor_status`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_visitor_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 00:36:32",
        "disabled": false,
        "format": "raw",
        "id": 402,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_redshift",
            "table": "analytics_helper_visitor_status"
        },
        "type": "redshift"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_redshift.analytics_helper_visitor_status`\nADD\n\n\n PARTITION (dt='2025-04-20') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693/dt=2025-04-20/'\n PARTITION (dt='2025-04-21') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756/dt=2025-04-21/'\n PARTITION (dt='2025-04-22') location 's3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252/dt=2025-04-22/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 620852,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-21/1745221693/dt=2025-04-20/",
                    "name": "dt",
                    "value": "2025-04-20"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-21 02:52:22",
                        "last_data": "2025-04-21 02:52:22"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 621012,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-22/1745308756/dt=2025-04-21/",
                    "name": "dt",
                    "value": "2025-04-21"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-22 03:03:31",
                        "last_data": "2025-04-22 03:03:31"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 621159,
                    "location": "s3://sfdl-redshift-analytics-stage/separated_dt/helper_visitor_status/2025-04-23/1745395252/dt=2025-04-22/",
                    "name": "dt",
                    "value": "2025-04-22"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2025-04-23 03:10:50",
                        "last_data": "2025-04-23 03:10:50"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "_origin": "string",
            "has_web_valid_res": "int",
            "is_bad_api_site_visitor": "int",
            "is_filtered_ip": "int",
            "is_good_visitor": "int",
            "is_image_verified": "int",
            "is_problem_visitor": "int",
            "visitor_day_key": "int",
            "visitor_key": "bigint"
        },
        "created": "2025-04-23 03:10:50",
        "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_visitor_status`\n(\n `visitor_key`  bigint , `is_good_visitor`  int , `visitor_day_key`  int , `is_image_verified`  int , `is_filtered_ip`  int , `is_problem_visitor`  int , `is_bad_api_site_visitor`  int , `has_web_valid_res`  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_visitor_status/2025-04-23/1745395252'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_redshift.analytics_helper_visitor_status`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_redshift.analytics_helper_visitor_status"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}