Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_customer
  • created: 2024-10-17 18:04:56
  • disabled: False
  • format: raw
  • id: 2226
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_customer"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-17 18:05:04
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_customer`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_customer`\n(\n`top_level_parent_internal_id`STRING,`parent_entity_id`STRING,`parent_external_id`STRING,`parent_customer_id`STRING,`parent_internal_id`STRING,`parent_company_name`STRING,`entity_id`STRING,`external_id`STRING,`customer_id`STRING,`internal_id`STRING,`company_name`STRING,`sfdc_id`STRING,`sitelink_corp_code`STRING,`sitelink_location_code`STRING,`sitelink_acct_id`STRING,`sparefoot_account_id`STRING,`sparefoot_corp_id`STRING,`sparefoot_facility_id`STRING,`storedge_company_uuid`STRING,`storedge_facility_id`STRING,`storedge_facility_uuid`STRING,`zcrm_id`STRING,`zoho_id`STRING,`stripe_id`STRING,`ess_company_id`STRING,`ess_facility_id`STRING,`chargeover_parent_id`STRING,`chargeover_child_id`STRING,`email`STRING,`billing_email`STRING,`phone`STRING,`date_created`STRING,`account_state`STRING,`shipping_address_1`STRING,`shipping_address_2`STRING,`shipping_address_3`STRING,`shipping_city`STRING,`shipping_stateprovince`STRING,`shipping_zip_code`STRING,`shipping_country`STRING,`billing_address_1`STRING,`billing_address_2`STRING,`billing_address_3`STRING,`billing_city`STRING,`billing_stateprovince`STRING,`billing_zip_code`STRING,`billing_country`STRING,`subsidiary_name`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_customer'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_customer"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer
    • id: 763139
    • processed: 1
    • raw_data:
      {
          "account_state": null,
          "billing_address_1": "3811 Crowell Rd",
          "billing_address_2": null,
          "billing_address_3": null,
          "billing_city": "Turlock",
          "billing_country": "US",
          "billing_email": null,
          "billing_stateprovince": "CA",
          "billing_zip_code": "95382-8601",
          "chargeover_child_id": null,
          "chargeover_parent_id": "12796",
          "company_name": "Monte Vista Mini Storage - CORP.",
          "customer_id": "C47099 Monte Vista Mini Storage - CORP.",
          "date_created": "2/2/2023 11:24:59 am",
          "email": "[email protected]",
          "entity_id": "C47099",
          "ess_company_id": null,
          "ess_facility_id": null,
          "external_id": "0010y00001dbnDTAAY",
          "internal_id": 1715877,
          "parent_company_name": null,
          "parent_customer_id": null,
          "parent_entity_id": null,
          "parent_external_id": null,
          "parent_internal_id": null,
          "phone": null,
          "sfdc_id": "0010y00001dbnDTAAY",
          "shipping_address_1": "3811 Crowell Rd",
          "shipping_address_2": null,
          "shipping_address_3": null,
          "shipping_city": "Turlock",
          "shipping_country": "US",
          "shipping_stateprovince": "CA",
          "shipping_zip_code": "95382-8601",
          "sitelink_acct_id": null,
          "sitelink_corp_code": "CEJR",
          "sitelink_location_code": null,
          "sparefoot_account_id": null,
          "sparefoot_corp_id": null,
          "sparefoot_facility_id": null,
          "storedge_company_uuid": "e3e0c9c0-e3e0-4c73-a148-259bb89b9c9c",
          "storedge_facility_id": null,
          "storedge_facility_uuid": null,
          "stripe_id": null,
          "subsidiary_name": "Storable, Inc",
          "top_level_parent_internal_id": 1715877,
          "zcrm_id": null,
          "zoho_id": null
      }
    • schema_attributes:
      {
          "account_state": "string",
          "billing_address_1": "string",
          "billing_address_2": "string",
          "billing_address_3": "string",
          "billing_city": "string",
          "billing_country": "string",
          "billing_email": "string",
          "billing_stateprovince": "string",
          "billing_zip_code": "string",
          "chargeover_child_id": "string",
          "chargeover_parent_id": "string",
          "company_name": "string",
          "customer_id": "string",
          "date_created": "string",
          "email": "string",
          "entity_id": "string",
          "ess_company_id": "string",
          "ess_facility_id": "string",
          "external_id": "string",
          "internal_id": "string",
          "parent_company_name": "string",
          "parent_customer_id": "string",
          "parent_entity_id": "string",
          "parent_external_id": "string",
          "parent_internal_id": "string",
          "phone": "string",
          "sfdc_id": "string",
          "shipping_address_1": "string",
          "shipping_address_2": "string",
          "shipping_address_3": "string",
          "shipping_city": "string",
          "shipping_country": "string",
          "shipping_stateprovince": "string",
          "shipping_zip_code": "string",
          "sitelink_acct_id": "string",
          "sitelink_corp_code": "string",
          "sitelink_location_code": "string",
          "sparefoot_account_id": "string",
          "sparefoot_corp_id": "string",
          "sparefoot_facility_id": "string",
          "storedge_company_uuid": "string",
          "storedge_facility_id": "string",
          "storedge_facility_uuid": "string",
          "stripe_id": "string",
          "subsidiary_name": "string",
          "top_level_parent_internal_id": "string",
          "zcrm_id": "string",
          "zoho_id": "string"
      }
    • schema_name_id: 2226
    • schema_scan_id: 6056773
    • updated: 2024-10-17 18:05:18
Schema Scans: 1
Last at 2024-10-17 18:04:56
    • duration: 0:00:25.304955
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6056773
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer/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_customer",
              "key": "raw_incremental/netsuitestage_netsuite_customer/dt=2024-10-17/netsuite_customer_part_5.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_customer",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 5568857831494438141,
              "service_name": "drive-thru",
              "span_id": 10502203644398008193,
              "trace_id": 4144508185986185437
          }
      }
    • running: False
    • schema_name_id: 2226
    • start_time: 2024-10-17 18:04:56
    • success: True
    • trace_id: 4144508185986185437
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_customer`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer/dt=2024-10-17/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 576546,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer/dt=2024-10-17/",
                "name": "dt",
                "value": "2024-10-17"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-17 18:05:04",
                    "last_data": "2024-10-17 18:05:04"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "account_state": "string",
        "billing_address_1": "string",
        "billing_address_2": "string",
        "billing_address_3": "string",
        "billing_city": "string",
        "billing_country": "string",
        "billing_email": "string",
        "billing_stateprovince": "string",
        "billing_zip_code": "string",
        "chargeover_child_id": "string",
        "chargeover_parent_id": "string",
        "company_name": "string",
        "customer_id": "string",
        "date_created": "string",
        "email": "string",
        "entity_id": "string",
        "ess_company_id": "string",
        "ess_facility_id": "string",
        "external_id": "string",
        "internal_id": "string",
        "parent_company_name": "string",
        "parent_customer_id": "string",
        "parent_entity_id": "string",
        "parent_external_id": "string",
        "parent_internal_id": "string",
        "phone": "string",
        "sfdc_id": "string",
        "shipping_address_1": "string",
        "shipping_address_2": "string",
        "shipping_address_3": "string",
        "shipping_city": "string",
        "shipping_country": "string",
        "shipping_stateprovince": "string",
        "shipping_zip_code": "string",
        "sitelink_acct_id": "string",
        "sitelink_corp_code": "string",
        "sitelink_location_code": "string",
        "sparefoot_account_id": "string",
        "sparefoot_corp_id": "string",
        "sparefoot_facility_id": "string",
        "storedge_company_uuid": "string",
        "storedge_facility_id": "string",
        "storedge_facility_uuid": "string",
        "stripe_id": "string",
        "subsidiary_name": "string",
        "top_level_parent_internal_id": "string",
        "zcrm_id": "string",
        "zoho_id": "string"
    }
  • created: 2024-10-17 18:05:04
  • 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_customer`\n(\n`top_level_parent_internal_id`STRING,`parent_entity_id`STRING,`parent_external_id`STRING,`parent_customer_id`STRING,`parent_internal_id`STRING,`parent_company_name`STRING,`entity_id`STRING,`external_id`STRING,`customer_id`STRING,`internal_id`STRING,`company_name`STRING,`sfdc_id`STRING,`sitelink_corp_code`STRING,`sitelink_location_code`STRING,`sitelink_acct_id`STRING,`sparefoot_account_id`STRING,`sparefoot_corp_id`STRING,`sparefoot_facility_id`STRING,`storedge_company_uuid`STRING,`storedge_facility_id`STRING,`storedge_facility_uuid`STRING,`zcrm_id`STRING,`zoho_id`STRING,`stripe_id`STRING,`ess_company_id`STRING,`ess_facility_id`STRING,`chargeover_parent_id`STRING,`chargeover_child_id`STRING,`email`STRING,`billing_email`STRING,`phone`STRING,`date_created`STRING,`account_state`STRING,`shipping_address_1`STRING,`shipping_address_2`STRING,`shipping_address_3`STRING,`shipping_city`STRING,`shipping_stateprovince`STRING,`shipping_zip_code`STRING,`shipping_country`STRING,`billing_address_1`STRING,`billing_address_2`STRING,`billing_address_3`STRING,`billing_city`STRING,`billing_stateprovince`STRING,`billing_zip_code`STRING,`billing_country`STRING,`subsidiary_name`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_customer'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_customer`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_customer"
    }
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:04:56",
        "disabled": false,
        "format": "raw",
        "id": 2226,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_customer"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_customer`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer/dt=2024-10-17/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 576546,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_customer/dt=2024-10-17/",
                    "name": "dt",
                    "value": "2024-10-17"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-17 18:05:04",
                        "last_data": "2024-10-17 18:05:04"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "account_state": "string",
            "billing_address_1": "string",
            "billing_address_2": "string",
            "billing_address_3": "string",
            "billing_city": "string",
            "billing_country": "string",
            "billing_email": "string",
            "billing_stateprovince": "string",
            "billing_zip_code": "string",
            "chargeover_child_id": "string",
            "chargeover_parent_id": "string",
            "company_name": "string",
            "customer_id": "string",
            "date_created": "string",
            "email": "string",
            "entity_id": "string",
            "ess_company_id": "string",
            "ess_facility_id": "string",
            "external_id": "string",
            "internal_id": "string",
            "parent_company_name": "string",
            "parent_customer_id": "string",
            "parent_entity_id": "string",
            "parent_external_id": "string",
            "parent_internal_id": "string",
            "phone": "string",
            "sfdc_id": "string",
            "shipping_address_1": "string",
            "shipping_address_2": "string",
            "shipping_address_3": "string",
            "shipping_city": "string",
            "shipping_country": "string",
            "shipping_stateprovince": "string",
            "shipping_zip_code": "string",
            "sitelink_acct_id": "string",
            "sitelink_corp_code": "string",
            "sitelink_location_code": "string",
            "sparefoot_account_id": "string",
            "sparefoot_corp_id": "string",
            "sparefoot_facility_id": "string",
            "storedge_company_uuid": "string",
            "storedge_facility_id": "string",
            "storedge_facility_uuid": "string",
            "stripe_id": "string",
            "subsidiary_name": "string",
            "top_level_parent_internal_id": "string",
            "zcrm_id": "string",
            "zoho_id": "string"
        },
        "created": "2024-10-17 18:05:04",
        "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_customer`\n(\n`top_level_parent_internal_id`STRING,`parent_entity_id`STRING,`parent_external_id`STRING,`parent_customer_id`STRING,`parent_internal_id`STRING,`parent_company_name`STRING,`entity_id`STRING,`external_id`STRING,`customer_id`STRING,`internal_id`STRING,`company_name`STRING,`sfdc_id`STRING,`sitelink_corp_code`STRING,`sitelink_location_code`STRING,`sitelink_acct_id`STRING,`sparefoot_account_id`STRING,`sparefoot_corp_id`STRING,`sparefoot_facility_id`STRING,`storedge_company_uuid`STRING,`storedge_facility_id`STRING,`storedge_facility_uuid`STRING,`zcrm_id`STRING,`zoho_id`STRING,`stripe_id`STRING,`ess_company_id`STRING,`ess_facility_id`STRING,`chargeover_parent_id`STRING,`chargeover_child_id`STRING,`email`STRING,`billing_email`STRING,`phone`STRING,`date_created`STRING,`account_state`STRING,`shipping_address_1`STRING,`shipping_address_2`STRING,`shipping_address_3`STRING,`shipping_city`STRING,`shipping_stateprovince`STRING,`shipping_zip_code`STRING,`shipping_country`STRING,`billing_address_1`STRING,`billing_address_2`STRING,`billing_address_3`STRING,`billing_city`STRING,`billing_stateprovince`STRING,`billing_zip_code`STRING,`billing_country`STRING,`subsidiary_name`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_customer'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_customer`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_customer"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}