Schema Info

Schema Name: sfdl_prod_segment.sfdc_active
  • created: 2017-11-02 13:19:51
  • disabled: False
  • format: raw
  • id: 105
  • is_partitioned: True
  • is_schema_datatyped: False
  • name:
    {
        "database": "sfdl_prod_segment",
        "table": "sfdc_active"
    }
  • type: segment
Schema Versions: 1
    • created: 2018-05-24 16:02:30
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
          "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_active`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_active`\n(\n `type`  string , `timestamp`  string , `projectId`  string , `userId`  string , `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `_origin`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `site_id` : string >, `channel`  string , `sentAt`  string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-segment-sfdc-prod/separated_dt/active'\n",
          "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_active"
      ]
    • hive_path: s3://sfdl-segment-sfdc-prod/separated_dt/active
    • id: 30987
    • processed: 1
    • raw_data:
      {
          "_origin": "2018-05-24T21:01:57Z|s3://sfdl-segment-sfdc-prod/segment-logs/SgsnnfL86n/1527120000000/1527195669918.14d35d46040f.1.11.1.ed17e8a9-161e-4e56-bc5a-a83f32d5b0d3.gz|segment_separator:37",
          "channel": "server",
          "context": {
              "library": {
                  "name": "analytics-php",
                  "version": "1.4.2"
              }
          },
          "event": "active",
          "integrations": {},
          "messageId": "5154fb81-889a-468f-be6c-45dfb330b66a",
          "originalTimestamp": "2018-05-24T15:36:29-05:00",
          "projectId": "SgsnnfL86n",
          "properties": {
              "Hit Timestamp": 1527194189,
              "category": "Ad Blocker",
              "site_id": "-1"
          },
          "receivedAt": "2018-05-24T20:36:29.715Z",
          "sentAt": "2018-05-24T20:36:29.000Z",
          "timestamp": "2018-05-24T20:36:29.715Z",
          "type": "track",
          "userId": "135b07224819ace6715538400",
          "version": 2,
          "writeKey": "tNm8uezO2Lu95PjrV7q4Sa2d6sMB5APX"
      }
    • schema_attributes:
      {
          "_origin": "string",
          "channel": "string",
          "context.library.name": "string",
          "context.library.version": "string",
          "event": "string",
          "messageId": "string",
          "originalTimestamp": "string",
          "projectId": "string",
          "properties.Hit_Timestamp": "string",
          "properties.category": "string",
          "properties.site_id": "string",
          "receivedAt": "string",
          "sentAt": "string",
          "timestamp": "string",
          "type": "string",
          "userId": "string",
          "version": "string",
          "writeKey": "string"
      }
    • schema_name_id: 105
    • schema_scan_id: 12140183
    • updated: 2018-05-24 16:04:17
Schema Scans: 1
Last at 2018-05-24 16:02:30
    • duration: 0:01:56.347113
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 349,
          "partitions_applied": false,
          "success": true
      }
    • id: 12140183
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "partition": {
              "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-05-24/",
              "name": "dt",
              "type": "string",
              "value": "2018-05-24"
          },
          "s3": {
              "bucket": "sfdl-segment-sfdc-prod",
              "hive_path": "s3://sfdl-segment-sfdc-prod/separated_dt/active",
              "key": "separated_dt/active/dt=2018-05-24/1527195669918.14d35d46040f.1.11.1.ed17e8a9-161e-4e56-bc5a-a83f32d5b0d3.json.gz"
          },
          "schema": {
              "name": "sfdl_prod_segment.sfdc_active",
              "type": "segment"
          }
      }
    • running: False
    • schema_name_id: 105
    • start_time: 2018-05-24 16:02:30
    • success: True
Partitions:
  • count: 3
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_prod_segment.sfdc_active`\nADD\n\n\n PARTITION (dt='2018-06-01') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-06-01/'\n PARTITION (dt='2018-07-16') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-16/'\n PARTITION (dt='2018-07-25') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-25/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 356781,
                "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-06-01/",
                "name": "dt",
                "value": "2018-06-01"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2018-06-01 14:02:59",
                    "last_data": "2018-06-01 14:02:59"
                },
                "parquet": {
                    "first_performed": "2018-07-27 06:23:04",
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": "2018-07-27 06:23:04",
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 362500,
                "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-16/",
                "name": "dt",
                "value": "2018-07-16"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2018-07-16 01:01:26",
                    "last_data": "2018-07-16 01:02:45"
                },
                "parquet": {
                    "first_performed": "2018-07-28 05:32:53",
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": "2018-07-28 05:32:53",
                    "queued": false
                }
            }
        },
        {
            "info": {
                "id": 363406,
                "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-25/",
                "name": "dt",
                "value": "2018-07-25"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2018-07-25 07:03:41",
                    "last_data": "2018-07-25 07:03:41"
                },
                "parquet": {
                    "first_performed": "2018-07-28 09:53:29",
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": "2018-07-28 09:53:29",
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "_origin": "string",
        "channel": "string",
        "context.library.name": "string",
        "context.library.version": "string",
        "event": "string",
        "messageId": "string",
        "originalTimestamp": "string",
        "projectId": "string",
        "properties.Hit_Timestamp": "string",
        "properties.category": "string",
        "properties.site_id": "string",
        "receivedAt": "string",
        "sentAt": "string",
        "timestamp": "string",
        "type": "string",
        "userId": "string",
        "version": "string",
        "writeKey": "string"
    }
  • created: 2018-05-24 16:02:30
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_active`\n(\n `type`  string , `timestamp`  string , `projectId`  string , `userId`  string , `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `_origin`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `site_id` : string >, `channel`  string , `sentAt`  string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-segment-sfdc-prod/separated_dt/active'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_active`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_active"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2017-11-02 13:19:51",
        "disabled": false,
        "format": "raw",
        "id": 105,
        "is_partitioned": true,
        "is_schema_datatyped": false,
        "name": {
            "database": "sfdl_prod_segment",
            "table": "sfdc_active"
        },
        "type": "segment"
    },
    "partition": {
        "count": 3,
        "ddl": [
            "ALTER TABLE\n    `sfdl_prod_segment.sfdc_active`\nADD\n\n\n PARTITION (dt='2018-06-01') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-06-01/'\n PARTITION (dt='2018-07-16') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-16/'\n PARTITION (dt='2018-07-25') location 's3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-25/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 356781,
                    "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-06-01/",
                    "name": "dt",
                    "value": "2018-06-01"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2018-06-01 14:02:59",
                        "last_data": "2018-06-01 14:02:59"
                    },
                    "parquet": {
                        "first_performed": "2018-07-27 06:23:04",
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": "2018-07-27 06:23:04",
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 362500,
                    "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-16/",
                    "name": "dt",
                    "value": "2018-07-16"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2018-07-16 01:01:26",
                        "last_data": "2018-07-16 01:02:45"
                    },
                    "parquet": {
                        "first_performed": "2018-07-28 05:32:53",
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": "2018-07-28 05:32:53",
                        "queued": false
                    }
                }
            },
            {
                "info": {
                    "id": 363406,
                    "location": "s3://sfdl-segment-sfdc-prod/separated_dt/active/dt=2018-07-25/",
                    "name": "dt",
                    "value": "2018-07-25"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2018-07-25 07:03:41",
                        "last_data": "2018-07-25 07:03:41"
                    },
                    "parquet": {
                        "first_performed": "2018-07-28 09:53:29",
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": "2018-07-28 09:53:29",
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "_origin": "string",
            "channel": "string",
            "context.library.name": "string",
            "context.library.version": "string",
            "event": "string",
            "messageId": "string",
            "originalTimestamp": "string",
            "projectId": "string",
            "properties.Hit_Timestamp": "string",
            "properties.category": "string",
            "properties.site_id": "string",
            "receivedAt": "string",
            "sentAt": "string",
            "timestamp": "string",
            "type": "string",
            "userId": "string",
            "version": "string",
            "writeKey": "string"
        },
        "created": "2018-05-24 16:02:30",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_segment`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_segment.sfdc_active`\n(\n `type`  string , `timestamp`  string , `projectId`  string , `userId`  string , `event`  string , `receivedAt`  string , `version`  string , `originalTimestamp`  string ,`context`   struct<`library` :  struct< `version` : string , `name` : string >>, `messageId`  string , `writeKey`  string , `_origin`  string ,`properties`   struct< `category` : string , `Hit_Timestamp` : string , `site_id` : string >, `channel`  string , `sentAt`  string \n)\nPARTITIONED BY (dt string)\nROW FORMAT SERDE\n'org.openx.data.jsonserde.JsonSerDe'\n \nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-segment-sfdc-prod/separated_dt/active'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_segment.sfdc_active`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_segment.sfdc_active"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}