Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_employee
  • created: 2024-10-17 18:05:51
  • disabled: False
  • format: raw
  • id: 2229
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_employee"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-17 18:05:52
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_employee`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_employee`\n(\n`internal_id`STRING,`first_name`STRING,`middle_name`STRING,`last_name`STRING,`email`STRING,`phone`STRING,`department`STRING,`currency`STRING,`date_created`STRING,`hire_date`STRING,`job_title`STRING,`notes`STRING,`roles`STRING,`subsidiary`STRING,`supervisor_first_name`STRING,`supervisor_last_name`STRING,`location`STRING,`business_unit`STRING,`business_group`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-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_employee"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee
    • id: 763142
    • processed: 1
    • raw_data:
      {
          "business_group": null,
          "business_unit": null,
          "currency": "USD",
          "date_created": "1/28/2022 11:28:11 am",
          "department": null,
          "email": "[email protected]",
          "first_name": "360 Cloud",
          "hire_date": "1/28/2022",
          "internal_id": 1579701,
          "job_title": "Consultant",
          "last_name": "Solutions 1",
          "location": null,
          "middle_name": null,
          "notes": null,
          "phone": null,
          "roles": "Administrator",
          "subsidiary": "SpareFoot, Inc",
          "supervisor_first_name": "Sarah",
          "supervisor_last_name": "Xiang"
      }
    • schema_attributes:
      {
          "business_group": "string",
          "business_unit": "string",
          "currency": "string",
          "date_created": "string",
          "department": "string",
          "email": "string",
          "first_name": "string",
          "hire_date": "string",
          "internal_id": "string",
          "job_title": "string",
          "last_name": "string",
          "location": "string",
          "middle_name": "string",
          "notes": "string",
          "phone": "string",
          "roles": "string",
          "subsidiary": "string",
          "supervisor_first_name": "string",
          "supervisor_last_name": "string"
      }
    • schema_name_id: 2229
    • schema_scan_id: 6056778
    • updated: 2024-10-17 18:06:06
Schema Scans: 1
Last at 2024-10-17 18:05:51
    • duration: 0:00:17.791261
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6056778
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17",
              "name": "dt",
              "type": "string",
              "value": "2024-10-17"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee",
              "key": "raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17/netsuite_employee_part_1.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_employee",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 2642391091025979298,
              "service_name": "drive-thru",
              "span_id": 3898093516805762768,
              "trace_id": 10440051343029955776
          }
      }
    • running: False
    • schema_name_id: 2229
    • start_time: 2024-10-17 18:05:51
    • success: True
    • trace_id: 10440051343029955776
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_employee`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 576549,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17/",
                "name": "dt",
                "value": "2024-10-17"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-17 18:05:52",
                    "last_data": "2024-10-17 18:05:52"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "business_group": "string",
        "business_unit": "string",
        "currency": "string",
        "date_created": "string",
        "department": "string",
        "email": "string",
        "first_name": "string",
        "hire_date": "string",
        "internal_id": "string",
        "job_title": "string",
        "last_name": "string",
        "location": "string",
        "middle_name": "string",
        "notes": "string",
        "phone": "string",
        "roles": "string",
        "subsidiary": "string",
        "supervisor_first_name": "string",
        "supervisor_last_name": "string"
    }
  • created: 2024-10-17 18:05:52
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_employee`\n(\n`internal_id`STRING,`first_name`STRING,`middle_name`STRING,`last_name`STRING,`email`STRING,`phone`STRING,`department`STRING,`currency`STRING,`date_created`STRING,`hire_date`STRING,`job_title`STRING,`notes`STRING,`roles`STRING,`subsidiary`STRING,`supervisor_first_name`STRING,`supervisor_last_name`STRING,`location`STRING,`business_unit`STRING,`business_group`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-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_employee`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_employee"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2024-10-17 18:05:51",
        "disabled": false,
        "format": "raw",
        "id": 2229,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_employee"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_employee`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 576549,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee/dt=2024-10-17/",
                    "name": "dt",
                    "value": "2024-10-17"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-17 18:05:52",
                        "last_data": "2024-10-17 18:05:52"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "business_group": "string",
            "business_unit": "string",
            "currency": "string",
            "date_created": "string",
            "department": "string",
            "email": "string",
            "first_name": "string",
            "hire_date": "string",
            "internal_id": "string",
            "job_title": "string",
            "last_name": "string",
            "location": "string",
            "middle_name": "string",
            "notes": "string",
            "phone": "string",
            "roles": "string",
            "subsidiary": "string",
            "supervisor_first_name": "string",
            "supervisor_last_name": "string"
        },
        "created": "2024-10-17 18:05:52",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_employee`\n(\n`internal_id`STRING,`first_name`STRING,`middle_name`STRING,`last_name`STRING,`email`STRING,`phone`STRING,`department`STRING,`currency`STRING,`date_created`STRING,`hire_date`STRING,`job_title`STRING,`notes`STRING,`roles`STRING,`subsidiary`STRING,`supervisor_first_name`STRING,`supervisor_last_name`STRING,`location`STRING,`business_unit`STRING,`business_group`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-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_employee'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_employee`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_employee"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}