Schema Info

Schema Name: sfdl_dev_rds.sparefoot_sparefoot_visits
  • created: 2022-11-03 15:42:16
  • disabled: False
  • format: raw
  • id: 2104
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_dev_rds",
        "table": "sparefoot_sparefoot_visits"
    }
  • type: rds
Schema Versions: 3
    • created: 2023-04-21 15:03:55
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_rds`",
          "DROP TABLE IF EXISTS `sfdl_dev_rds.sparefoot_sparefoot_visits`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_rds.sparefoot_sparefoot_visits`\n(\n `affiliate_id`  string , `affiliate_token_id`  string , `campaign_id`  string , `content_id`  string , `dt_partition`  date , `ip_address`  string , `keyword_id`  string , `referrer`  string , `referrer_site_id`  int , `request_uri`  string , `search_weight_id`  int , `site_id`  int , `traffic_source_id`  string , `unique`  smallint , `user_agent`  string , `user_agent_browser`  string , `user_agent_major_version`  string , `user_agent_platform`  string , `visit_id`  string , `visit_time`  timestamp \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits'\n",
          "MSCK REPAIR TABLE sfdl_dev_rds.sparefoot_sparefoot_visits"
      ]
    • hive_path: s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits
    • id: 4695754
    • processed: 1
    • raw_data:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "date32[day]",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "int32",
          "request_uri": "string",
          "search_weight_id": "int32",
          "site_id": "int32",
          "traffic_source_id": "string",
          "unique": "int16",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp[ns]"
      }
    • schema_attributes:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "date",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "int",
          "request_uri": "string",
          "search_weight_id": "int",
          "site_id": "int",
          "traffic_source_id": "string",
          "unique": "smallint",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp"
      }
    • schema_name_id: 2104
    • schema_scan_id: 6175080
    • updated: 2023-04-21 15:04:09
    • created: 2023-04-20 15:00:09
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_rds`",
          "DROP TABLE IF EXISTS `sfdl_dev_rds.sparefoot_sparefoot_visits`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_rds.sparefoot_sparefoot_visits`\n(\n `affiliate_id`  string , `affiliate_token_id`  string , `campaign_id`  string , `content_id`  string , `dt_partition`  timestamp , `ip_address`  string , `keyword_id`  string , `referrer`  string , `referrer_site_id`  string , `request_uri`  string , `search_weight_id`  string , `site_id`  string , `traffic_source_id`  string , `unique`  string , `user_agent`  string , `user_agent_browser`  string , `user_agent_major_version`  string , `user_agent_platform`  string , `visit_id`  string , `visit_time`  timestamp \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits'\n",
          "MSCK REPAIR TABLE sfdl_dev_rds.sparefoot_sparefoot_visits"
      ]
    • hive_path: s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits
    • id: 4693978
    • processed: 1
    • raw_data:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "timestamp[ns]",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "string",
          "request_uri": "string",
          "search_weight_id": "string",
          "site_id": "string",
          "traffic_source_id": "string",
          "unique": "string",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp[ns]"
      }
    • schema_attributes:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "timestamp",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "string",
          "request_uri": "string",
          "search_weight_id": "string",
          "site_id": "string",
          "traffic_source_id": "string",
          "unique": "string",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp"
      }
    • schema_name_id: 2104
    • schema_scan_id: 6170385
    • updated: 2023-04-20 15:00:23
    • created: 2022-11-03 15:42:17
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_dev_rds`",
          "DROP TABLE IF EXISTS `sfdl_dev_rds.sparefoot_sparefoot_visits`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_rds.sparefoot_sparefoot_visits`\n(\n `affiliate_id`  string , `affiliate_token_id`  string , `campaign_id`  string , `content_id`  string , `dt_partition`  date , `ip_address`  string , `keyword_id`  string , `referrer`  string , `referrer_site_id`  int , `request_uri`  string , `search_weight_id`  int , `site_id`  int , `traffic_source_id`  string , `unique`  smallint , `user_agent`  string , `user_agent_browser`  string , `user_agent_major_version`  string , `user_agent_platform`  string , `visit_id`  string , `visit_time`  timestamp \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits'\n",
          "MSCK REPAIR TABLE sfdl_dev_rds.sparefoot_sparefoot_visits"
      ]
    • hive_path: s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits
    • id: 4690316
    • processed: 1
    • raw_data:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "date32[day]",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "int32",
          "request_uri": "string",
          "search_weight_id": "int32",
          "site_id": "int32",
          "traffic_source_id": "string",
          "unique": "int16",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp[ns]"
      }
    • schema_attributes:
      {
          "affiliate_id": "string",
          "affiliate_token_id": "string",
          "campaign_id": "string",
          "content_id": "string",
          "dt_partition": "date",
          "ip_address": "string",
          "keyword_id": "string",
          "referrer": "string",
          "referrer_site_id": "int",
          "request_uri": "string",
          "search_weight_id": "int",
          "site_id": "int",
          "traffic_source_id": "string",
          "unique": "smallint",
          "user_agent": "string",
          "user_agent_browser": "string",
          "user_agent_major_version": "string",
          "user_agent_platform": "string",
          "visit_id": "string",
          "visit_time": "timestamp"
      }
    • schema_name_id: 2104
    • schema_scan_id: 5999430
    • updated: 2022-11-03 15:42:31
Schema Scans: 3
Last at 2023-04-21 15:03:54
    • duration: 0:00:17.639094
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 13,
          "partitions_applied": false,
          "success": true
      }
    • id: 6175080
    • payload:
      {
          "datatype_dict": null,
          "file_format": "parquet",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2023-04-20",
              "name": "dt",
              "type": "string",
              "value": "2023-04-20"
          },
          "s3": {
              "bucket": "sfdl-rds-sparefoot-dev",
              "hive_path": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits",
              "key": "raw_incremental/sparefoot_visits/dt=2023-04-20/visits_1.parquet.gz"
          },
          "schema": {
              "name": "sfdl_dev_rds.sparefoot_sparefoot_visits",
              "type": "rds"
          },
          "trace_context": {
              "parent_id": 14580078662260170156,
              "service_name": "sparefoot",
              "span_id": 16329519524530709323,
              "trace_id": 14580078662260170156
          }
      }
    • running: False
    • schema_name_id: 2104
    • start_time: 2023-04-21 15:03:54
    • success: True
    • trace_id: 14580078662260170156
    • duration: 0:00:18.093330
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 12,
          "partitions_applied": false,
          "success": true
      }
    • id: 6170385
    • payload:
      {
          "datatype_dict": null,
          "file_format": "parquet",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2023-04-19",
              "name": "dt",
              "type": "string",
              "value": "2023-04-19"
          },
          "s3": {
              "bucket": "sfdl-rds-sparefoot-dev",
              "hive_path": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits",
              "key": "raw_incremental/sparefoot_visits/dt=2023-04-19/visits_1.parquet.gz"
          },
          "schema": {
              "name": "sfdl_dev_rds.sparefoot_sparefoot_visits",
              "type": "rds"
          },
          "trace_context": {
              "parent_id": 4168697244375410785,
              "service_name": "sparefoot",
              "span_id": 1388898457868867217,
              "trace_id": 4168697244375410785
          }
      }
    • running: False
    • schema_name_id: 2104
    • start_time: 2023-04-20 15:00:08
    • success: True
    • trace_id: 4168697244375410785
    • duration: 0:00:17.201256
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 5999430
    • payload:
      {
          "datatype_dict": null,
          "file_format": "parquet",
          "is_schema_datatyped": false,
          "partition": {
              "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2022-11-03",
              "name": "dt",
              "type": "string",
              "value": "2022-11-03"
          },
          "s3": {
              "bucket": "sfdl-rds-sparefoot-dev",
              "hive_path": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits",
              "key": "raw_incremental/sparefoot_visits/dt=2022-11-03/visits.parquet.gz"
          },
          "schema": {
              "name": "sfdl_dev_rds.sparefoot_sparefoot_visits",
              "type": "rds"
          },
          "trace_context": {
              "parent_id": 640379992848340397,
              "service_name": "sparefoot",
              "span_id": 9990690684158582856,
              "trace_id": 640379992848340397
          }
      }
    • running: False
    • schema_name_id: 2104
    • start_time: 2022-11-03 15:42:16
    • success: True
    • trace_id: 640379992848340397
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_dev_rds.sparefoot_sparefoot_visits`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-08-13/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 253915,
                "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-12/",
                "name": "dt",
                "value": "2024-05-12"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-05-13 11:49:52",
                    "last_data": "2024-05-13 11:49:52"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 253999,
                "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-13/",
                "name": "dt",
                "value": "2024-05-13"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-05-14 02:39:11",
                    "last_data": "2024-05-14 02:39:11"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 259586,
                "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-08-13/",
                "name": "dt",
                "value": "2024-08-13"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-08-14 08:47:49",
                    "last_data": "2024-08-14 08:47:49"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "affiliate_id": "string",
        "affiliate_token_id": "string",
        "campaign_id": "string",
        "content_id": "string",
        "dt_partition": "date",
        "ip_address": "string",
        "keyword_id": "string",
        "referrer": "string",
        "referrer_site_id": "int",
        "request_uri": "string",
        "search_weight_id": "int",
        "site_id": "int",
        "traffic_source_id": "string",
        "unique": "smallint",
        "user_agent": "string",
        "user_agent_browser": "string",
        "user_agent_major_version": "string",
        "user_agent_platform": "string",
        "visit_id": "string",
        "visit_time": "timestamp"
    }
  • created: 2023-04-21 15:03:55
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_rds`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_rds.sparefoot_sparefoot_visits`\n(\n `affiliate_id`  string , `affiliate_token_id`  string , `campaign_id`  string , `content_id`  string , `dt_partition`  date , `ip_address`  string , `keyword_id`  string , `referrer`  string , `referrer_site_id`  int , `request_uri`  string , `search_weight_id`  int , `site_id`  int , `traffic_source_id`  string , `unique`  smallint , `user_agent`  string , `user_agent_browser`  string , `user_agent_major_version`  string , `user_agent_platform`  string , `visit_id`  string , `visit_time`  timestamp \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_rds.sparefoot_sparefoot_visits`",
        "repair_table": "MSCK REPAIR TABLE sfdl_dev_rds.sparefoot_sparefoot_visits"
    }
Server:
  • hostname: schemamanager-5447774fc6-4w58v
  • name: schema_manager
  • process_start: 2026-04-02 21:43:44
  • sf_env: dev
  • version: 2427328685
Raw:
{
    "name": {
        "created": "2022-11-03 15:42:16",
        "disabled": false,
        "format": "raw",
        "id": 2104,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_dev_rds",
            "table": "sparefoot_sparefoot_visits"
        },
        "type": "rds"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_dev_rds.sparefoot_sparefoot_visits`\nADD\n\n\n PARTITION (dt='2024-05-12') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-12/'\n PARTITION (dt='2024-05-13') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-13/'\n PARTITION (dt='2024-08-13') location 's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-08-13/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 253915,
                    "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-12/",
                    "name": "dt",
                    "value": "2024-05-12"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-05-13 11:49:52",
                        "last_data": "2024-05-13 11:49:52"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 253999,
                    "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-05-13/",
                    "name": "dt",
                    "value": "2024-05-13"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-05-14 02:39:11",
                        "last_data": "2024-05-14 02:39:11"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 259586,
                    "location": "s3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits/dt=2024-08-13/",
                    "name": "dt",
                    "value": "2024-08-13"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-08-14 08:47:49",
                        "last_data": "2024-08-14 08:47:49"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "affiliate_id": "string",
            "affiliate_token_id": "string",
            "campaign_id": "string",
            "content_id": "string",
            "dt_partition": "date",
            "ip_address": "string",
            "keyword_id": "string",
            "referrer": "string",
            "referrer_site_id": "int",
            "request_uri": "string",
            "search_weight_id": "int",
            "site_id": "int",
            "traffic_source_id": "string",
            "unique": "smallint",
            "user_agent": "string",
            "user_agent_browser": "string",
            "user_agent_major_version": "string",
            "user_agent_platform": "string",
            "visit_id": "string",
            "visit_time": "timestamp"
        },
        "created": "2023-04-21 15:03:55",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_rds`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_rds.sparefoot_sparefoot_visits`\n(\n `affiliate_id`  string , `affiliate_token_id`  string , `campaign_id`  string , `content_id`  string , `dt_partition`  date , `ip_address`  string , `keyword_id`  string , `referrer`  string , `referrer_site_id`  int , `request_uri`  string , `search_weight_id`  int , `site_id`  int , `traffic_source_id`  string , `unique`  smallint , `user_agent`  string , `user_agent_browser`  string , `user_agent_major_version`  string , `user_agent_platform`  string , `visit_id`  string , `visit_time`  timestamp \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-rds-sparefoot-dev/raw_incremental/sparefoot_visits'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_rds.sparefoot_sparefoot_visits`",
            "repair_table": "MSCK REPAIR TABLE sfdl_dev_rds.sparefoot_sparefoot_visits"
        }
    },
    "server": {
        "hostname": "schemamanager-5447774fc6-4w58v",
        "name": "schema_manager",
        "process_start": "2026-04-02 21:43:44",
        "sf_env": "dev",
        "version": "2427328685"
    }
}