Schema Info

Schema Name: sfdl_prod_drivethru.newbook_newbookap_assets
  • created: 2024-12-07 14:56:29
  • disabled: False
  • format: raw
  • id: 2753
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_prod_drivethru",
        "table": "newbook_newbookap_assets"
    }
  • type: drivethrucsv
Schema Versions: 1
    • created: 2024-12-07 14:56:30
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_assets`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_drivethru.newbook_newbookap_assets`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `name`  string , `model`  string , `description`  string , `image`  string , `serial`  string , `barcode`  string , `price`  string , `purchased_on`  string , `removed_on`  string , `requires_testing`  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_assets/2024-12-07/1733604931'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_assets"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/newbook_newbookap_assets/2024-12-07/1733604931
    • id: 1114922
    • processed: 1
    • raw_data:
      {
          "barcode": 9,
          "category_id": 3,
          "description": 6,
          "id": 2,
          "image": 7,
          "model": 5,
          "name": 4,
          "newbook_region": 0,
          "price": 10,
          "purchased_on": 11,
          "removed_on": 12,
          "requires_testing": 13,
          "serial": 8,
          "tenant": 1
      }
    • schema_attributes:
      {
          "barcode": "string",
          "category_id": "string",
          "description": "string",
          "id": "string",
          "image": "string",
          "model": "string",
          "name": "string",
          "newbook_region": "string",
          "price": "string",
          "purchased_on": "string",
          "removed_on": "string",
          "requires_testing": "string",
          "serial": "string",
          "tenant": "string"
      }
    • schema_name_id: 2753
    • schema_scan_id: 133183379
    • updated: 2024-12-07 14:56:41
Schema Scans: 1
Last at 2024-12-07 14:56:29
    • duration: 0:00:11.960870
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 133183379
    • 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_assets/2024-12-07/1733604931",
              "key": "raw/newbook_newbookap_assets/2024-12-07/1733604931/ap_assets.csv.gz"
          },
          "schema": {
              "name": "sfdl_prod_drivethru.newbook_newbookap_assets",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14920293300442431918,
              "service_name": "drive-thru",
              "span_id": 12199561520962584087,
              "trace_id": 4697480860450660568
          }
      }
    • running: False
    • schema_name_id: 2753
    • start_time: 2024-12-07 14:56:29
    • success: True
    • trace_id: 4697480860450660568
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "barcode": "string",
        "category_id": "string",
        "description": "string",
        "id": "string",
        "image": "string",
        "model": "string",
        "name": "string",
        "newbook_region": "string",
        "price": "string",
        "purchased_on": "string",
        "removed_on": "string",
        "requires_testing": "string",
        "serial": "string",
        "tenant": "string"
    }
  • created: 2024-12-07 14:56:30
  • 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_assets`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `name`  string , `model`  string , `description`  string , `image`  string , `serial`  string , `barcode`  string , `price`  string , `purchased_on`  string , `removed_on`  string , `requires_testing`  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_assets/2024-12-07/1733604931'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_assets`",
        "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_assets"
    }
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 14:56:29",
        "disabled": false,
        "format": "raw",
        "id": 2753,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_prod_drivethru",
            "table": "newbook_newbookap_assets"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "barcode": "string",
            "category_id": "string",
            "description": "string",
            "id": "string",
            "image": "string",
            "model": "string",
            "name": "string",
            "newbook_region": "string",
            "price": "string",
            "purchased_on": "string",
            "removed_on": "string",
            "requires_testing": "string",
            "serial": "string",
            "tenant": "string"
        },
        "created": "2024-12-07 14:56:30",
        "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_assets`\n(\n `newbook_region`  string , `tenant`  string , `id`  string , `category_id`  string , `name`  string , `model`  string , `description`  string , `image`  string , `serial`  string , `barcode`  string , `price`  string , `purchased_on`  string , `removed_on`  string , `requires_testing`  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_assets/2024-12-07/1733604931'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.newbook_newbookap_assets`",
            "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.newbook_newbookap_assets"
        }
    },
    "server": {
        "hostname": "schemamanager-5475496c57-7dpqb",
        "name": "schema_manager",
        "process_start": "2026-01-09 11:27:47",
        "sf_env": "prod",
        "version": "2112174301"
    }
}