Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_sales_order
  • created: 2024-10-18 10:22:55
  • disabled: False
  • format: raw
  • id: 2231
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_sales_order"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-18 10:23:04
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`sfdc_opportunity_id`STRING,`sfdc_order_id`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`sfdc_order_product_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`contract_line_creation_status`STRING,`sales_order_status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`closed`STRING,`quantity`STRING,`rate`STRING,`list_price`STRING,`start_date`STRING,`end_date`STRING,`contract_cancellation_date`STRING,`sales_order_cancellation_date`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_sales_order'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_sales_order"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order
    • id: 763512
    • processed: 1
    • raw_data:
      {
          "closed": true,
          "contract_billing_freq": "Monthly",
          "contract_cancellation_date": null,
          "contract_internal_id": 20344,
          "contract_line_creation_status": "Created",
          "customer_company_name": "Centreforce IT - National Storage Operations - Rockingham",
          "customer_internal_id": 1723396,
          "customer_sfdc_id": "001C0000010jfisIAA",
          "date": "8/29/2023",
          "document_numberid": "8773394",
          "end_date": null,
          "in_contract_action": "Price Change",
          "internal_id": 7875793,
          "item": "SiteLink Web Edition - International",
          "line_number": 1,
          "list_price": 355,
          "quantity": -1,
          "rate": 0,
          "sales_order_cancellation_date": null,
          "sales_order_status": "Active",
          "sfdc_opportunity_id": null,
          "sfdc_order_id": null,
          "sfdc_order_product_id": null,
          "start_date": "9/1/2023",
          "status": "Sales Order : Closed",
          "subsidiary": "SiteLink Software, LLC",
          "tax_line": false,
          "total_amount_transaction_currency": 0,
          "transaction_line_unique_id": "7875793-o9uhuQ1",
          "type": "SalesOrd"
      }
    • schema_attributes:
      {
          "closed": "string",
          "contract_billing_freq": "string",
          "contract_cancellation_date": "string",
          "contract_internal_id": "string",
          "contract_line_creation_status": "string",
          "customer_company_name": "string",
          "customer_internal_id": "string",
          "customer_sfdc_id": "string",
          "date": "string",
          "document_numberid": "string",
          "end_date": "string",
          "in_contract_action": "string",
          "internal_id": "string",
          "item": "string",
          "line_number": "string",
          "list_price": "string",
          "quantity": "string",
          "rate": "string",
          "sales_order_cancellation_date": "string",
          "sales_order_status": "string",
          "sfdc_opportunity_id": "string",
          "sfdc_order_id": "string",
          "sfdc_order_product_id": "string",
          "start_date": "string",
          "status": "string",
          "subsidiary": "string",
          "tax_line": "string",
          "total_amount_transaction_currency": "string",
          "transaction_line_unique_id": "string",
          "type": "string"
      }
    • schema_name_id: 2231
    • schema_scan_id: 6058080
    • updated: 2024-10-18 10:23:18
Schema Scans: 1
Last at 2024-10-18 10:22:55
    • duration: 0:00:25.680034
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6058080
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18",
              "name": "dt",
              "type": "string",
              "value": "2024-10-18"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order",
              "key": "raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18/netsuite_sales_order_part_9.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_sales_order",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 13807227311137843616,
              "service_name": "drive-thru",
              "span_id": 5747677256336001778,
              "trace_id": 8494625342894253627
          }
      }
    • running: False
    • schema_name_id: 2231
    • start_time: 2024-10-18 10:22:55
    • success: True
    • trace_id: 8494625342894253627
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`\nADD\n\n\n PARTITION (dt='2024-10-18') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 576712,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18",
                "name": "dt",
                "value": "2024-10-18"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-18 10:23:04",
                    "last_data": "2024-10-18 10:33:57"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "closed": "string",
        "contract_billing_freq": "string",
        "contract_cancellation_date": "string",
        "contract_internal_id": "string",
        "contract_line_creation_status": "string",
        "customer_company_name": "string",
        "customer_internal_id": "string",
        "customer_sfdc_id": "string",
        "date": "string",
        "document_numberid": "string",
        "end_date": "string",
        "in_contract_action": "string",
        "internal_id": "string",
        "item": "string",
        "line_number": "string",
        "list_price": "string",
        "quantity": "string",
        "rate": "string",
        "sales_order_cancellation_date": "string",
        "sales_order_status": "string",
        "sfdc_opportunity_id": "string",
        "sfdc_order_id": "string",
        "sfdc_order_product_id": "string",
        "start_date": "string",
        "status": "string",
        "subsidiary": "string",
        "tax_line": "string",
        "total_amount_transaction_currency": "string",
        "transaction_line_unique_id": "string",
        "type": "string"
    }
  • created: 2024-10-18 10:23: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_sales_order`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`sfdc_opportunity_id`STRING,`sfdc_order_id`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`sfdc_order_product_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`contract_line_creation_status`STRING,`sales_order_status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`closed`STRING,`quantity`STRING,`rate`STRING,`list_price`STRING,`start_date`STRING,`end_date`STRING,`contract_cancellation_date`STRING,`sales_order_cancellation_date`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_sales_order'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_sales_order"
    }
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-18 10:22:55",
        "disabled": false,
        "format": "raw",
        "id": 2231,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_sales_order"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`\nADD\n\n\n PARTITION (dt='2024-10-18') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 576712,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_sales_order/dt=2024-10-18",
                    "name": "dt",
                    "value": "2024-10-18"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-18 10:23:04",
                        "last_data": "2024-10-18 10:33:57"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "closed": "string",
            "contract_billing_freq": "string",
            "contract_cancellation_date": "string",
            "contract_internal_id": "string",
            "contract_line_creation_status": "string",
            "customer_company_name": "string",
            "customer_internal_id": "string",
            "customer_sfdc_id": "string",
            "date": "string",
            "document_numberid": "string",
            "end_date": "string",
            "in_contract_action": "string",
            "internal_id": "string",
            "item": "string",
            "line_number": "string",
            "list_price": "string",
            "quantity": "string",
            "rate": "string",
            "sales_order_cancellation_date": "string",
            "sales_order_status": "string",
            "sfdc_opportunity_id": "string",
            "sfdc_order_id": "string",
            "sfdc_order_product_id": "string",
            "start_date": "string",
            "status": "string",
            "subsidiary": "string",
            "tax_line": "string",
            "total_amount_transaction_currency": "string",
            "transaction_line_unique_id": "string",
            "type": "string"
        },
        "created": "2024-10-18 10:23: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_sales_order`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`sfdc_opportunity_id`STRING,`sfdc_order_id`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`sfdc_order_product_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`contract_line_creation_status`STRING,`sales_order_status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`closed`STRING,`quantity`STRING,`rate`STRING,`list_price`STRING,`start_date`STRING,`end_date`STRING,`contract_cancellation_date`STRING,`sales_order_cancellation_date`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_sales_order'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_sales_order`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_sales_order"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}