Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_contract_line
  • created: 2024-10-17 18:00:59
  • disabled: False
  • format: raw
  • id: 2223
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_contract_line"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-17 18:01:02
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`contract_billing_day`STRING,`contract_subsidiary`STRING,`contract_status`STRING,`contract_line_internal_id`STRING,`billing_frequency`STRING,`item`STRING,`qty`STRING,`full_monthly_value`STRING,`net_monthly_value`STRING,`rate`STRING,`contract_line_status`STRING,`start_date`STRING,`end_date`STRING,`cancellation_date`STRING,`first_recurring_bill_date`STRING,`last_billed_date`STRING,`next_bill_date`STRING,`end_of_term_action`STRING,`incontract_action`STRING,`replaces`STRING,`replaced_by`STRING,`sales_order_internal_id`STRING,`sales_order_document_number`STRING,`transaction_line_unique_id`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_contract_line'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_line"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line
    • id: 763136
    • processed: 1
    • raw_data:
      {
          "billing_frequency": "Monthly",
          "cancellation_date": null,
          "contract_billing_day": 1,
          "contract_internal_id": 25521,
          "contract_line_internal_id": 71788,
          "contract_line_status": "Active",
          "contract_status": "Active",
          "contract_subsidiary": "Rednova Labs, Inc.",
          "customer_company_name": "Scott Street Group - Old Mill Storage Center",
          "customer_internal_id": 2029292,
          "customer_sfdc_id": "001PJ000005Hk5CYAS",
          "end_date": null,
          "end_of_term_action": "Perpetual Evergreen",
          "first_recurring_bill_date": "3/1/2024",
          "full_monthly_value": 150,
          "incontract_action": "New",
          "item": "storEDGE FMS",
          "last_billed_date": "10/1/2024",
          "net_monthly_value": 150,
          "next_bill_date": "11/1/2024",
          "qty": 1,
          "rate": 150,
          "replaced_by": null,
          "replaces": null,
          "sales_order_document_number": "8796873",
          "sales_order_internal_id": 8963025,
          "start_date": "2/3/2024",
          "transaction_line_unique_id": "8963025-p2k9Lb3"
      }
    • schema_attributes:
      {
          "billing_frequency": "string",
          "cancellation_date": "string",
          "contract_billing_day": "string",
          "contract_internal_id": "string",
          "contract_line_internal_id": "string",
          "contract_line_status": "string",
          "contract_status": "string",
          "contract_subsidiary": "string",
          "customer_company_name": "string",
          "customer_internal_id": "string",
          "customer_sfdc_id": "string",
          "end_date": "string",
          "end_of_term_action": "string",
          "first_recurring_bill_date": "string",
          "full_monthly_value": "string",
          "incontract_action": "string",
          "item": "string",
          "last_billed_date": "string",
          "net_monthly_value": "string",
          "next_bill_date": "string",
          "qty": "string",
          "rate": "string",
          "replaced_by": "string",
          "replaces": "string",
          "sales_order_document_number": "string",
          "sales_order_internal_id": "string",
          "start_date": "string",
          "transaction_line_unique_id": "string"
      }
    • schema_name_id: 2223
    • schema_scan_id: 6056768
    • updated: 2024-10-17 18:01:16
Schema Scans: 1
Last at 2024-10-17 18:00:59
    • duration: 0:00:19.897747
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6056768
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line/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_contract_line",
              "key": "raw_incremental/netsuitestage_netsuite_contract_line/dt=2024-10-17/netsuite_contract_line_part_9.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_contract_line",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 9354770246593875333,
              "service_name": "drive-thru",
              "span_id": 6795174363902263163,
              "trace_id": 4063620781790753449
          }
      }
    • running: False
    • schema_name_id: 2223
    • start_time: 2024-10-17 18:00:59
    • success: True
    • trace_id: 4063620781790753449
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line/dt=2024-10-17/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 576543,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line/dt=2024-10-17/",
                "name": "dt",
                "value": "2024-10-17"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-17 18:01:02",
                    "last_data": "2024-10-17 18:01:02"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "billing_frequency": "string",
        "cancellation_date": "string",
        "contract_billing_day": "string",
        "contract_internal_id": "string",
        "contract_line_internal_id": "string",
        "contract_line_status": "string",
        "contract_status": "string",
        "contract_subsidiary": "string",
        "customer_company_name": "string",
        "customer_internal_id": "string",
        "customer_sfdc_id": "string",
        "end_date": "string",
        "end_of_term_action": "string",
        "first_recurring_bill_date": "string",
        "full_monthly_value": "string",
        "incontract_action": "string",
        "item": "string",
        "last_billed_date": "string",
        "net_monthly_value": "string",
        "next_bill_date": "string",
        "qty": "string",
        "rate": "string",
        "replaced_by": "string",
        "replaces": "string",
        "sales_order_document_number": "string",
        "sales_order_internal_id": "string",
        "start_date": "string",
        "transaction_line_unique_id": "string"
    }
  • created: 2024-10-17 18:01:02
  • 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_contract_line`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`contract_billing_day`STRING,`contract_subsidiary`STRING,`contract_status`STRING,`contract_line_internal_id`STRING,`billing_frequency`STRING,`item`STRING,`qty`STRING,`full_monthly_value`STRING,`net_monthly_value`STRING,`rate`STRING,`contract_line_status`STRING,`start_date`STRING,`end_date`STRING,`cancellation_date`STRING,`first_recurring_bill_date`STRING,`last_billed_date`STRING,`next_bill_date`STRING,`end_of_term_action`STRING,`incontract_action`STRING,`replaces`STRING,`replaced_by`STRING,`sales_order_internal_id`STRING,`sales_order_document_number`STRING,`transaction_line_unique_id`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_contract_line'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_line"
    }
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:00:59",
        "disabled": false,
        "format": "raw",
        "id": 2223,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_contract_line"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line/dt=2024-10-17/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 576543,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_contract_line/dt=2024-10-17/",
                    "name": "dt",
                    "value": "2024-10-17"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-17 18:01:02",
                        "last_data": "2024-10-17 18:01:02"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "billing_frequency": "string",
            "cancellation_date": "string",
            "contract_billing_day": "string",
            "contract_internal_id": "string",
            "contract_line_internal_id": "string",
            "contract_line_status": "string",
            "contract_status": "string",
            "contract_subsidiary": "string",
            "customer_company_name": "string",
            "customer_internal_id": "string",
            "customer_sfdc_id": "string",
            "end_date": "string",
            "end_of_term_action": "string",
            "first_recurring_bill_date": "string",
            "full_monthly_value": "string",
            "incontract_action": "string",
            "item": "string",
            "last_billed_date": "string",
            "net_monthly_value": "string",
            "next_bill_date": "string",
            "qty": "string",
            "rate": "string",
            "replaced_by": "string",
            "replaces": "string",
            "sales_order_document_number": "string",
            "sales_order_internal_id": "string",
            "start_date": "string",
            "transaction_line_unique_id": "string"
        },
        "created": "2024-10-17 18:01:02",
        "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_contract_line`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`contract_internal_id`STRING,`contract_billing_day`STRING,`contract_subsidiary`STRING,`contract_status`STRING,`contract_line_internal_id`STRING,`billing_frequency`STRING,`item`STRING,`qty`STRING,`full_monthly_value`STRING,`net_monthly_value`STRING,`rate`STRING,`contract_line_status`STRING,`start_date`STRING,`end_date`STRING,`cancellation_date`STRING,`first_recurring_bill_date`STRING,`last_billed_date`STRING,`next_bill_date`STRING,`end_of_term_action`STRING,`incontract_action`STRING,`replaces`STRING,`replaced_by`STRING,`sales_order_internal_id`STRING,`sales_order_document_number`STRING,`transaction_line_unique_id`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_contract_line'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_contract_line`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_contract_line"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}