Schema Info

Schema Name: sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions
  • created: 2024-10-17 18:08:34
  • disabled: False
  • format: raw
  • id: 2230
  • is_partitioned: True
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "netsuitestage_netsuite_revenue_transactions"
    }
  • type: drivethrujson
Schema Versions: 1
    • created: 2024-10-17 18:08:41
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`customer_internal_id`STRING,`customer_company_name`STRING,`transaction_memo`STRING,`id`STRING,`transaction_line_memo`STRING,`currency`STRING,`total_amount_transaction_currency`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`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_transactions'\n",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions"
      ]
    • hive_path: s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions
    • id: 763143
    • processed: 1
    • raw_data:
      {
          "account_full_name": "Website Services and Support : SEMS Pro Service Fees",
          "account_name": "SEMS Pro Service Fees",
          "account_type": "Income",
          "created_by": "Rukmini  Mahalingappa",
          "currency": "USD",
          "customer_company_name": "101 Storage Center",
          "customer_internal_id": 1736503,
          "date": "9/30/2024",
          "date_created": "10/7/2024 9:51:52 am",
          "date_last_modified": "10/7/2024 9:51:52 am",
          "document_number": 86269,
          "id": 19,
          "internal_id": 11263258,
          "number": "44002",
          "posting_period": "Sep 2024",
          "reversal_date": null,
          "total_amount_transaction_currency": null,
          "transaction_accounting_line_amount": -195.5,
          "transaction_line_department": null,
          "transaction_line_memo": "Rev Rec Destination",
          "transaction_line_product": "Web",
          "transaction_line_subsidiary": "Rednova Labs, Inc.",
          "transaction_memo": null,
          "type": "Journal"
      }
    • schema_attributes:
      {
          "account_full_name": "string",
          "account_name": "string",
          "account_type": "string",
          "created_by": "string",
          "currency": "string",
          "customer_company_name": "string",
          "customer_internal_id": "string",
          "date": "string",
          "date_created": "string",
          "date_last_modified": "string",
          "document_number": "string",
          "id": "string",
          "internal_id": "string",
          "number": "string",
          "posting_period": "string",
          "reversal_date": "string",
          "total_amount_transaction_currency": "string",
          "transaction_accounting_line_amount": "string",
          "transaction_line_department": "string",
          "transaction_line_memo": "string",
          "transaction_line_product": "string",
          "transaction_line_subsidiary": "string",
          "transaction_memo": "string",
          "type": "string"
      }
    • schema_name_id: 2230
    • schema_scan_id: 6056781
    • updated: 2024-10-17 18:08:55
Schema Scans: 1
Last at 2024-10-17 18:08:34
    • duration: 0:00:23.805215
    • exit_message:
      {
          "ddl_changed": true,
          "ingested_partitions": 1,
          "partitions_applied": false,
          "success": true
      }
    • id: 6056781
    • payload:
      {
          "datatype_dict": null,
          "file_format": "json",
          "is_schema_datatyped": true,
          "partition": {
              "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions/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_revenue_transactions",
              "key": "raw_incremental/netsuitestage_netsuite_revenue_transactions/dt=2024-10-17/netsuite_revenue_transactions_part_8.json.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions",
              "type": "drivethrujson"
          },
          "trace_context": {
              "parent_id": 16568723254290997950,
              "service_name": "drive-thru",
              "span_id": 15964431857292935446,
              "trace_id": 13753082566219259963
          }
      }
    • running: False
    • schema_name_id: 2230
    • start_time: 2024-10-17 18:08:34
    • success: True
    • trace_id: 13753082566219259963
Partitions:
  • count: 1
  • ddl:
    [
        "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions/dt=2024-10-17/'\n;"
    ]
  • name: dt
  • state:
    [
        {
            "info": {
                "id": 576550,
                "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions/dt=2024-10-17/",
                "name": "dt",
                "value": "2024-10-17"
            },
            "state": {
                "arrival": {
                    "athena_discovery": true,
                    "first_data": "2024-10-17 18:08:41",
                    "last_data": "2024-10-17 18:08:41"
                },
                "parquet": {
                    "first_performed": null,
                    "in_progress": null,
                    "job_id": null,
                    "last_performed": null,
                    "queued": false
                }
            }
        }
    ]
  • type: string
Schema:
  • attributes:
    {
        "account_full_name": "string",
        "account_name": "string",
        "account_type": "string",
        "created_by": "string",
        "currency": "string",
        "customer_company_name": "string",
        "customer_internal_id": "string",
        "date": "string",
        "date_created": "string",
        "date_last_modified": "string",
        "document_number": "string",
        "id": "string",
        "internal_id": "string",
        "number": "string",
        "posting_period": "string",
        "reversal_date": "string",
        "total_amount_transaction_currency": "string",
        "transaction_accounting_line_amount": "string",
        "transaction_line_department": "string",
        "transaction_line_memo": "string",
        "transaction_line_product": "string",
        "transaction_line_subsidiary": "string",
        "transaction_memo": "string",
        "type": "string"
    }
  • created: 2024-10-17 18:08:41
  • 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_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`customer_internal_id`STRING,`customer_company_name`STRING,`transaction_memo`STRING,`id`STRING,`transaction_line_memo`STRING,`currency`STRING,`total_amount_transaction_currency`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`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_transactions'\n",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions"
    }
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:08:34",
        "disabled": false,
        "format": "raw",
        "id": 2230,
        "is_partitioned": true,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "netsuitestage_netsuite_revenue_transactions"
        },
        "type": "drivethrujson"
    },
    "partition": {
        "count": 1,
        "ddl": [
            "ALTER TABLE\n    `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`\nADD\n\n\n PARTITION (dt='2024-10-17') location 's3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions/dt=2024-10-17/'\n;"
        ],
        "name": "dt",
        "state": [
            {
                "info": {
                    "id": 576550,
                    "location": "s3://sfdl-drivethrujson-drivethru-stage/raw_incremental/netsuitestage_netsuite_revenue_transactions/dt=2024-10-17/",
                    "name": "dt",
                    "value": "2024-10-17"
                },
                "state": {
                    "arrival": {
                        "athena_discovery": true,
                        "first_data": "2024-10-17 18:08:41",
                        "last_data": "2024-10-17 18:08:41"
                    },
                    "parquet": {
                        "first_performed": null,
                        "in_progress": null,
                        "job_id": null,
                        "last_performed": null,
                        "queued": false
                    }
                }
            }
        ],
        "type": "string"
    },
    "schema": {
        "attributes": {
            "account_full_name": "string",
            "account_name": "string",
            "account_type": "string",
            "created_by": "string",
            "currency": "string",
            "customer_company_name": "string",
            "customer_internal_id": "string",
            "date": "string",
            "date_created": "string",
            "date_last_modified": "string",
            "document_number": "string",
            "id": "string",
            "internal_id": "string",
            "number": "string",
            "posting_period": "string",
            "reversal_date": "string",
            "total_amount_transaction_currency": "string",
            "transaction_accounting_line_amount": "string",
            "transaction_line_department": "string",
            "transaction_line_memo": "string",
            "transaction_line_product": "string",
            "transaction_line_subsidiary": "string",
            "transaction_memo": "string",
            "type": "string"
        },
        "created": "2024-10-17 18:08:41",
        "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_transactions`\n(\n`posting_period`STRING,`account_type`STRING,`type`STRING,`document_number`STRING,`internal_id`STRING,`customer_internal_id`STRING,`customer_company_name`STRING,`transaction_memo`STRING,`id`STRING,`transaction_line_memo`STRING,`currency`STRING,`total_amount_transaction_currency`STRING,`transaction_accounting_line_amount`STRING,`transaction_line_department`STRING,`transaction_line_subsidiary`STRING,`number`STRING,`account_full_name`STRING,`account_name`STRING,`transaction_line_product`STRING,`date`STRING,`reversal_date`STRING,`date_last_modified`STRING,`date_created`STRING,`created_by`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_transactions'\n",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.netsuitestage_netsuite_revenue_transactions"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}