Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement
  • created: 2024-10-28 12:47:49
  • disabled: False
  • format: raw
  • id: 2232
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_revenue_arrangement"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-28 12:47:59
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`quantity`STRING,`rate`STRING,`list_price`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_revenue_arrangement'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement
    • id: 767224
    • processed: 1
    • raw_data:
      {
          "contract_billing_freq": "Monthly",
          "customer_company_name": "Storage Asset Management - Storage Depot - Hampton",
          "customer_internal_id": 1728314,
          "customer_sfdc_id": "0014u00001yVMp8AAG",
          "date": "4/23/2024",
          "document_numberid": "372236",
          "in_contract_action": "Down-sell",
          "internal_id": 9716751,
          "item": "SiteLink Web Edition",
          "line_number": 1,
          "list_price": 355,
          "quantity": -1,
          "rate": null,
          "status": "Revenue Arrangement : Approved",
          "subsidiary": "SiteLink Software, LLC",
          "tax_line": false,
          "total_amount_transaction_currency": 240.88,
          "transaction_line_unique_id": "8687109-oddhf71",
          "type": "RevArrng"
      }
    • schema_attributes:
      {
          "contract_billing_freq": "string",
          "customer_company_name": "string",
          "customer_internal_id": "string",
          "customer_sfdc_id": "string",
          "date": "string",
          "document_numberid": "string",
          "in_contract_action": "string",
          "internal_id": "string",
          "item": "string",
          "line_number": "string",
          "list_price": "string",
          "quantity": "string",
          "rate": "string",
          "status": "string",
          "subsidiary": "string",
          "tax_line": "string",
          "total_amount_transaction_currency": "string",
          "transaction_line_unique_id": "string",
          "type": "string"
      }
    • schema_name_id: 2232
    • schema_scan_id: 6076705
    • updated: 2024-10-28 12:48:13
Schema Scans: 1
Last at 2024-10-28 12:47:49
    • duration: 0:00:25.933140
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6076705
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28",
              "name": "dt",
              "type": "string",
              "value": "2024-10-28"
          },
          "s3": {
              "bucket": "sfdl-drivethrujson-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement",
              "key": "raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28/netsuite_revenue_arrangement_part_9_PUSH_3.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 7804468487180985520,
              "service_name": "drive-thru",
              "span_id": 1080813094980052478,
              "trace_id": 4259806255196685455
          }
      }
    • running: False
    • schema_name_id: 2232
    • start_time: 2024-10-28 12:47:49
    • success: True
    • trace_id: 4259806255196685455
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`\nADD\n\n\n PARTITION (dt='2024-10-28') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 578357,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28/",
                "name": "dt",
                "value": "2024-10-28"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-28 12:47:59",
                    "last_data": "2024-10-28 12:47:59"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "contract_billing_freq": "string",
        "customer_company_name": "string",
        "customer_internal_id": "string",
        "customer_sfdc_id": "string",
        "date": "string",
        "document_numberid": "string",
        "in_contract_action": "string",
        "internal_id": "string",
        "item": "string",
        "line_number": "string",
        "list_price": "string",
        "quantity": "string",
        "rate": "string",
        "status": "string",
        "subsidiary": "string",
        "tax_line": "string",
        "total_amount_transaction_currency": "string",
        "transaction_line_unique_id": "string",
        "type": "string"
    }
  • created: 2024-10-28 12:47:59
  • 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_revenue_arrangement`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`quantity`STRING,`rate`STRING,`list_price`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_revenue_arrangement'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement"
    }
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-28 12:47:49",
        "disabled": false,
        "format": "raw",
        "id": 2232,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_revenue_arrangement"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`\nADD\n\n\n PARTITION (dt='2024-10-28') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 578357,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_arrangement/dt=2024-10-28/",
                    "name": "dt",
                    "value": "2024-10-28"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-28 12:47:59",
                        "last_data": "2024-10-28 12:47:59"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "contract_billing_freq": "string",
            "customer_company_name": "string",
            "customer_internal_id": "string",
            "customer_sfdc_id": "string",
            "date": "string",
            "document_numberid": "string",
            "in_contract_action": "string",
            "internal_id": "string",
            "item": "string",
            "line_number": "string",
            "list_price": "string",
            "quantity": "string",
            "rate": "string",
            "status": "string",
            "subsidiary": "string",
            "tax_line": "string",
            "total_amount_transaction_currency": "string",
            "transaction_line_unique_id": "string",
            "type": "string"
        },
        "created": "2024-10-28 12:47:59",
        "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_revenue_arrangement`\n(\n`customer_internal_id`STRING,`customer_company_name`STRING,`customer_sfdc_id`STRING,`type`STRING,`internal_id`STRING,`date`STRING,`document_numberid`STRING,`total_amount_transaction_currency`STRING,`line_number`STRING,`transaction_line_unique_id`STRING,`subsidiary`STRING,`item`STRING,`status`STRING,`in_contract_action`STRING,`contract_billing_freq`STRING,`tax_line`STRING,`quantity`STRING,`rate`STRING,`list_price`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_revenue_arrangement'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_arrangement"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}