Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_subscriptions
  • created: 2024-12-07 15:07:57
  • disabled: False
  • format: raw
  • id: 3413
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_subscriptions"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 15:07:58
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_subscriptions`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_subscriptions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `item_type`  string , `description`  string , `gl_account_id`  string , `gl_category_id`  string , `qty`  string , `amount`  string , `tax_free`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_to`  string , `next_run`  string , `next_run_advance_days`  string , `next_run_allowed_days`  string , `prorata_start`  string , `prorata_end`  string , `generated_when`  string , `generated_by`  string , `stopped_when`  string , `stopped_by`  string , `cancelled_when`  string , `cancelled_by`  string , `cancelled_reason`  string , `create_charges`  string , `void_unpaid_charges`  string , `create_task_type_id`  string , `create_task_created_for`  string , `generate_invoice`  string , `create_task_description`  string , `status`  string , `paid_notification`  string , `auto_debit`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_subscriptions/2024-12-07/1733605074'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_subscriptions"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_subscriptions/2024-12-07/1733605074
    • id: 1115582
    • processed: 1
    • raw_data:
      {
          "account_id": 4,
          "amount": 13,
          "auto_debit": 39,
          "cancelled_by": 29,
          "cancelled_reason": 30,
          "cancelled_when": 28,
          "create_charges": 31,
          "create_task_created_for": 34,
          "create_task_description": 36,
          "create_task_type_id": 33,
          "description": 9,
          "generate_invoice": 35,
          "generated_by": 25,
          "generated_when": 24,
          "gl_account_id": 10,
          "gl_category_id": 11,
          "id": 2,
          "interval": 15,
          "interval_multiplier": 16,
          "inventory_item_id": 3,
          "invoice_description": 5,
          "invoice_email_template_id": 7,
          "invoice_system_template_id": 6,
          "item_type": 8,
          "newbook_region": 0,
          "next_run": 19,
          "next_run_advance_days": 20,
          "next_run_allowed_days": 21,
          "paid_notification": 38,
          "period_from": 17,
          "period_to": 18,
          "prorata_end": 23,
          "prorata_start": 22,
          "qty": 12,
          "status": 37,
          "stopped_by": 27,
          "stopped_when": 26,
          "tax_free": 14,
          "tenant": 1,
          "void_unpaid_charges": 32
      }
    • schema_attributes:
      {
          "account_id": "string",
          "amount": "string",
          "auto_debit": "string",
          "cancelled_by": "string",
          "cancelled_reason": "string",
          "cancelled_when": "string",
          "create_charges": "string",
          "create_task_created_for": "string",
          "create_task_description": "string",
          "create_task_type_id": "string",
          "description": "string",
          "generate_invoice": "string",
          "generated_by": "string",
          "generated_when": "string",
          "gl_account_id": "string",
          "gl_category_id": "string",
          "id": "string",
          "interval": "string",
          "interval_multiplier": "string",
          "inventory_item_id": "string",
          "invoice_description": "string",
          "invoice_email_template_id": "string",
          "invoice_system_template_id": "string",
          "item_type": "string",
          "newbook_region": "string",
          "next_run": "string",
          "next_run_advance_days": "string",
          "next_run_allowed_days": "string",
          "paid_notification": "string",
          "period_from": "string",
          "period_to": "string",
          "prorata_end": "string",
          "prorata_start": "string",
          "qty": "string",
          "status": "string",
          "stopped_by": "string",
          "stopped_when": "string",
          "tax_free": "string",
          "tenant": "string",
          "void_unpaid_charges": "string"
      }
    • schema_name_id: 3413
    • schema_scan_id: 133184586
    • updated: 2024-12-07 15:08:12
Schema Scans: 1
Last at 2024-12-07 15:07:57
    • duration: 0:00:14.958198
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133184586
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-prod",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_subscriptions/2024-12-07/1733605074",
              "key": "raw/newbook_newbookap_subscriptions/2024-12-07/1733605074/ap_subscriptions.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_subscriptions",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 603002501940349295,
              "service_name": "drive-thru",
              "span_id": 8355898847121098855,
              "trace_id": 16263111868913689921
          }
      }
    • running: False
    • schema_name_id: 3413
    • start_time: 2024-12-07 15:07:57
    • success: True
    • trace_id: 16263111868913689921
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "account_id": "string",
        "amount": "string",
        "auto_debit": "string",
        "cancelled_by": "string",
        "cancelled_reason": "string",
        "cancelled_when": "string",
        "create_charges": "string",
        "create_task_created_for": "string",
        "create_task_description": "string",
        "create_task_type_id": "string",
        "description": "string",
        "generate_invoice": "string",
        "generated_by": "string",
        "generated_when": "string",
        "gl_account_id": "string",
        "gl_category_id": "string",
        "id": "string",
        "interval": "string",
        "interval_multiplier": "string",
        "inventory_item_id": "string",
        "invoice_description": "string",
        "invoice_email_template_id": "string",
        "invoice_system_template_id": "string",
        "item_type": "string",
        "newbook_region": "string",
        "next_run": "string",
        "next_run_advance_days": "string",
        "next_run_allowed_days": "string",
        "paid_notification": "string",
        "period_from": "string",
        "period_to": "string",
        "prorata_end": "string",
        "prorata_start": "string",
        "qty": "string",
        "status": "string",
        "stopped_by": "string",
        "stopped_when": "string",
        "tax_free": "string",
        "tenant": "string",
        "void_unpaid_charges": "string"
    }
  • created: 2024-12-07 15:07:58
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_subscriptions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `item_type`  string , `description`  string , `gl_account_id`  string , `gl_category_id`  string , `qty`  string , `amount`  string , `tax_free`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_to`  string , `next_run`  string , `next_run_advance_days`  string , `next_run_allowed_days`  string , `prorata_start`  string , `prorata_end`  string , `generated_when`  string , `generated_by`  string , `stopped_when`  string , `stopped_by`  string , `cancelled_when`  string , `cancelled_by`  string , `cancelled_reason`  string , `create_charges`  string , `void_unpaid_charges`  string , `create_task_type_id`  string , `create_task_created_for`  string , `generate_invoice`  string , `create_task_description`  string , `status`  string , `paid_notification`  string , `auto_debit`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_subscriptions/2024-12-07/1733605074'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_subscriptions`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_subscriptions"
    }
Server:
  • hostname: schemamanager-5475496c57-7dpqb
  • name: schema_manager
  • process_start: 2026-01-09 11:27:47
  • sf_env: prod
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2024-12-07 15:07:57",
        "disabled": false,
        "format": "raw",
        "id": 3413,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_subscriptions"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "account_id": "string",
            "amount": "string",
            "auto_debit": "string",
            "cancelled_by": "string",
            "cancelled_reason": "string",
            "cancelled_when": "string",
            "create_charges": "string",
            "create_task_created_for": "string",
            "create_task_description": "string",
            "create_task_type_id": "string",
            "description": "string",
            "generate_invoice": "string",
            "generated_by": "string",
            "generated_when": "string",
            "gl_account_id": "string",
            "gl_category_id": "string",
            "id": "string",
            "interval": "string",
            "interval_multiplier": "string",
            "inventory_item_id": "string",
            "invoice_description": "string",
            "invoice_email_template_id": "string",
            "invoice_system_template_id": "string",
            "item_type": "string",
            "newbook_region": "string",
            "next_run": "string",
            "next_run_advance_days": "string",
            "next_run_allowed_days": "string",
            "paid_notification": "string",
            "period_from": "string",
            "period_to": "string",
            "prorata_end": "string",
            "prorata_start": "string",
            "qty": "string",
            "status": "string",
            "stopped_by": "string",
            "stopped_when": "string",
            "tax_free": "string",
            "tenant": "string",
            "void_unpaid_charges": "string"
        },
        "created": "2024-12-07 15:07:58",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_subscriptions`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `inventory_item_id`  string , `account_id`  string , `invoice_description`  string , `invoice_system_template_id`  string , `invoice_email_template_id`  string , `item_type`  string , `description`  string , `gl_account_id`  string , `gl_category_id`  string , `qty`  string , `amount`  string , `tax_free`  string , `interval`  string , `interval_multiplier`  string , `period_from`  string , `period_to`  string , `next_run`  string , `next_run_advance_days`  string , `next_run_allowed_days`  string , `prorata_start`  string , `prorata_end`  string , `generated_when`  string , `generated_by`  string , `stopped_when`  string , `stopped_by`  string , `cancelled_when`  string , `cancelled_by`  string , `cancelled_reason`  string , `create_charges`  string , `void_unpaid_charges`  string , `create_task_type_id`  string , `create_task_created_for`  string , `generate_invoice`  string , `create_task_description`  string , `status`  string , `paid_notification`  string , `auto_debit`  string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.serde2.OpenCSVSerde'\n WITH SERDEPROPERTIES ( 'separatorChar' = ',', 'quoteChar' = '\"', 'escapeChar' = '\\\\')\nSTORED AS INPUTFORMAT\n  'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n  'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n  's3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_subscriptions/2024-12-07/1733605074'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_subscriptions`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_subscriptions"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}