Schema Info

Schema Name: sfdl_stage_drivethru.stellar_imscoupons
  • created: 2023-01-31 12:01:05
  • disabled: False
  • format: raw
  • id: 1705
  • is_partitioned: False
  • is_schema_datatyped: True
  • name:
    {
        "database": "sfdl_stage_drivethru",
        "table": "stellar_imscoupons"
    }
  • type: drivethrucsv
Schema Versions: 3
    • created: 2023-02-06 01:54:56
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_imscoupons`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_imscoupons`\n(\n `tenant`  string , `id`  string , `location_id`  string , `code`  string , `coupon_name`  string , `coupon_type`  string , `coupon_amount`  string , `count_allowed`  string , `count_allowed_daily`  string , `count_used`  string , `rental_start`  string , `rental_end`  string , `coupon_start`  string , `coupon_end`  string , `min_departure_time`  string , `max_departure_time`  string , `min_return_time`  string , `max_return_time`  string , `min_hours`  string , `max_hours`  string , `min_hours_before_departure`  string , `max_hours_before_departure`  string , `max_same_day_per_customer`  string , `max_active_per_customer`  string , `disable_consecutive_per_customer`  string , `status`  string , `valid_days`  string , `holidays_only_if_valid_day`  string , `valid_styles`  string , `created_at`  string , `updated_at`  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-stage/raw/stellar_imscoupons/2023-02-06/1675669789'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_imscoupons"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-06/1675669789
    • id: 496032
    • processed: 1
    • raw_data:
      {
          "code": 3,
          "count_allowed": 7,
          "count_allowed_daily": 8,
          "count_used": 9,
          "coupon_amount": 6,
          "coupon_end": 13,
          "coupon_name": 4,
          "coupon_start": 12,
          "coupon_type": 5,
          "created_at": 29,
          "disable_consecutive_per_customer": 24,
          "holidays_only_if_valid_day": 27,
          "id": 1,
          "location_id": 2,
          "max_active_per_customer": 23,
          "max_departure_time": 15,
          "max_hours": 19,
          "max_hours_before_departure": 21,
          "max_return_time": 17,
          "max_same_day_per_customer": 22,
          "min_departure_time": 14,
          "min_hours": 18,
          "min_hours_before_departure": 20,
          "min_return_time": 16,
          "rental_end": 11,
          "rental_start": 10,
          "status": 25,
          "tenant": 0,
          "updated_at": 30,
          "valid_days": 26,
          "valid_styles": 28
      }
    • schema_attributes:
      {
          "code": "string",
          "count_allowed": "string",
          "count_allowed_daily": "string",
          "count_used": "string",
          "coupon_amount": "string",
          "coupon_end": "string",
          "coupon_name": "string",
          "coupon_start": "string",
          "coupon_type": "string",
          "created_at": "string",
          "disable_consecutive_per_customer": "string",
          "holidays_only_if_valid_day": "string",
          "id": "string",
          "location_id": "string",
          "max_active_per_customer": "string",
          "max_departure_time": "string",
          "max_hours": "string",
          "max_hours_before_departure": "string",
          "max_return_time": "string",
          "max_same_day_per_customer": "string",
          "min_departure_time": "string",
          "min_hours": "string",
          "min_hours_before_departure": "string",
          "min_return_time": "string",
          "rental_end": "string",
          "rental_start": "string",
          "status": "string",
          "tenant": "string",
          "updated_at": "string",
          "valid_days": "string",
          "valid_styles": "string"
      }
    • schema_name_id: 1705
    • schema_scan_id: 4595702
    • updated: 2023-02-06 01:55:07
    • created: 2023-02-05 01:49:21
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_imscoupons`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_imscoupons`\n(\n `tenant`  string , `id`  string , `location_id`  string , `code`  string , `coupon_name`  string , `coupon_type`  string , `coupon_amount`  string , `count_allowed`  string , `count_allowed_daily`  string , `count_used`  string , `rental_start`  string , `rental_end`  string , `coupon_start`  string , `coupon_end`  string , `min_departure_time`  string , `max_departure_time`  string , `min_return_time`  string , `max_return_time`  string , `min_hours`  string , `max_hours`  string , `min_hours_before_departure`  string , `max_hours_before_departure`  string , `max_same_day_per_customer`  string , `max_active_per_customer`  string , `disable_consecutive_per_customer`  string , `status`  string , `valid_days`  string , `holidays_only_if_valid_day`  string , `valid_styles`  string , `created_at`  string , `updated_at`  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-stage/raw/stellar_imscoupons/2023-02-05/1675583105'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_imscoupons"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-05/1675583105
    • id: 495360
    • processed: 1
    • raw_data:
      {
          "code": 3,
          "count_allowed": 7,
          "count_allowed_daily": 8,
          "count_used": 9,
          "coupon_amount": 6,
          "coupon_end": 13,
          "coupon_name": 4,
          "coupon_start": 12,
          "coupon_type": 5,
          "created_at": 29,
          "disable_consecutive_per_customer": 24,
          "holidays_only_if_valid_day": 27,
          "id": 1,
          "location_id": 2,
          "max_active_per_customer": 23,
          "max_departure_time": 15,
          "max_hours": 19,
          "max_hours_before_departure": 21,
          "max_return_time": 17,
          "max_same_day_per_customer": 22,
          "min_departure_time": 14,
          "min_hours": 18,
          "min_hours_before_departure": 20,
          "min_return_time": 16,
          "rental_end": 11,
          "rental_start": 10,
          "status": 25,
          "tenant": 0,
          "updated_at": 30,
          "valid_days": 26,
          "valid_styles": 28
      }
    • schema_attributes:
      {
          "code": "string",
          "count_allowed": "string",
          "count_allowed_daily": "string",
          "count_used": "string",
          "coupon_amount": "string",
          "coupon_end": "string",
          "coupon_name": "string",
          "coupon_start": "string",
          "coupon_type": "string",
          "created_at": "string",
          "disable_consecutive_per_customer": "string",
          "holidays_only_if_valid_day": "string",
          "id": "string",
          "location_id": "string",
          "max_active_per_customer": "string",
          "max_departure_time": "string",
          "max_hours": "string",
          "max_hours_before_departure": "string",
          "max_return_time": "string",
          "max_same_day_per_customer": "string",
          "min_departure_time": "string",
          "min_hours": "string",
          "min_hours_before_departure": "string",
          "min_return_time": "string",
          "rental_end": "string",
          "rental_start": "string",
          "status": "string",
          "tenant": "string",
          "updated_at": "string",
          "valid_days": "string",
          "valid_styles": "string"
      }
    • schema_name_id: 1705
    • schema_scan_id: 4592913
    • updated: 2023-02-05 01:49:32
    • created: 2023-02-04 01:46:27
    • ddl:
      [
          "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
          "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_imscoupons`",
          "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_imscoupons`\n(\n `tenant`  string , `id`  string , `location_id`  string , `code`  string , `coupon_name`  string , `coupon_type`  string , `coupon_amount`  string , `count_allowed`  string , `count_allowed_daily`  string , `count_used`  string , `rental_start`  string , `rental_end`  string , `coupon_start`  string , `coupon_end`  string , `min_departure_time`  string , `max_departure_time`  string , `min_return_time`  string , `max_return_time`  string , `min_hours`  string , `max_hours`  string , `min_hours_before_departure`  string , `max_hours_before_departure`  string , `max_same_day_per_customer`  string , `max_active_per_customer`  string , `disable_consecutive_per_customer`  string , `status`  string , `valid_days`  string , `holidays_only_if_valid_day`  string , `valid_styles`  string , `created_at`  string , `updated_at`  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-stage/raw/stellar_imscoupons/2023-02-04/1675496662'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
          "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_imscoupons"
      ]
    • hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-04/1675496662
    • id: 494669
    • processed: 1
    • raw_data:
      {
          "code": 3,
          "count_allowed": 7,
          "count_allowed_daily": 8,
          "count_used": 9,
          "coupon_amount": 6,
          "coupon_end": 13,
          "coupon_name": 4,
          "coupon_start": 12,
          "coupon_type": 5,
          "created_at": 29,
          "disable_consecutive_per_customer": 24,
          "holidays_only_if_valid_day": 27,
          "id": 1,
          "location_id": 2,
          "max_active_per_customer": 23,
          "max_departure_time": 15,
          "max_hours": 19,
          "max_hours_before_departure": 21,
          "max_return_time": 17,
          "max_same_day_per_customer": 22,
          "min_departure_time": 14,
          "min_hours": 18,
          "min_hours_before_departure": 20,
          "min_return_time": 16,
          "rental_end": 11,
          "rental_start": 10,
          "status": 25,
          "tenant": 0,
          "updated_at": 30,
          "valid_days": 26,
          "valid_styles": 28
      }
    • schema_attributes:
      {
          "code": "string",
          "count_allowed": "string",
          "count_allowed_daily": "string",
          "count_used": "string",
          "coupon_amount": "string",
          "coupon_end": "string",
          "coupon_name": "string",
          "coupon_start": "string",
          "coupon_type": "string",
          "created_at": "string",
          "disable_consecutive_per_customer": "string",
          "holidays_only_if_valid_day": "string",
          "id": "string",
          "location_id": "string",
          "max_active_per_customer": "string",
          "max_departure_time": "string",
          "max_hours": "string",
          "max_hours_before_departure": "string",
          "max_return_time": "string",
          "max_same_day_per_customer": "string",
          "min_departure_time": "string",
          "min_hours": "string",
          "min_hours_before_departure": "string",
          "min_return_time": "string",
          "rental_end": "string",
          "rental_start": "string",
          "status": "string",
          "tenant": "string",
          "updated_at": "string",
          "valid_days": "string",
          "valid_styles": "string"
      }
    • schema_name_id: 1705
    • schema_scan_id: 4589835
    • updated: 2023-02-04 01:46:38
Schema Scans: 3
Last at 2023-02-06 01:54:55
    • duration: 0:00:12.317267
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 4595702
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-06/1675669789",
              "key": "raw/stellar_imscoupons/2023-02-06/1675669789/coupons.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.stellar_imscoupons",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 12234391822508670002,
              "service_name": "drive-thru",
              "span_id": 5115865148771156953,
              "trace_id": 9454199096700792388
          }
      }
    • running: False
    • schema_name_id: 1705
    • start_time: 2023-02-06 01:54:55
    • success: True
    • trace_id: 9454199096700792388
    • duration: 0:00:12.085877
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 4592913
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-05/1675583105",
              "key": "raw/stellar_imscoupons/2023-02-05/1675583105/coupons.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.stellar_imscoupons",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 4968754424904116344,
              "service_name": "drive-thru",
              "span_id": 3778793342540526144,
              "trace_id": 134615927145732739
          }
      }
    • running: False
    • schema_name_id: 1705
    • start_time: 2023-02-05 01:49:20
    • success: True
    • trace_id: 134615927145732739
    • duration: 0:00:12.297165
    • exit_message:
      {
          "ddl_changed": true,
          "partitions_applied": false,
          "success": true
      }
    • id: 4589835
    • payload:
      {
          "datatype_dict": null,
          "file_format": "csv",
          "file_properties": {
              "data_has_header_row": true
          },
          "is_schema_datatyped": true,
          "s3": {
              "bucket": "sfdl-drivethrucsv-drivethru-stage",
              "hive_path": "s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_imscoupons/2023-02-04/1675496662",
              "key": "raw/stellar_imscoupons/2023-02-04/1675496662/coupons.csv.gz"
          },
          "schema": {
              "name": "sfdl_stage_drivethru.stellar_imscoupons",
              "type": "drivethrucsv"
          },
          "trace_context": {
              "parent_id": 14721530464900467281,
              "service_name": "drive-thru",
              "span_id": 17667248958152171095,
              "trace_id": 8867497251044446880
          }
      }
    • running: False
    • schema_name_id: 1705
    • start_time: 2023-02-04 01:46:26
    • success: True
    • trace_id: 8867497251044446880
Partitions:
  • count: 0
  • ddl: None
  • name: None
  • state:
    []
  • type: None
Schema:
  • attributes:
    {
        "code": "string",
        "count_allowed": "string",
        "count_allowed_daily": "string",
        "count_used": "string",
        "coupon_amount": "string",
        "coupon_end": "string",
        "coupon_name": "string",
        "coupon_start": "string",
        "coupon_type": "string",
        "created_at": "string",
        "disable_consecutive_per_customer": "string",
        "holidays_only_if_valid_day": "string",
        "id": "string",
        "location_id": "string",
        "max_active_per_customer": "string",
        "max_departure_time": "string",
        "max_hours": "string",
        "max_hours_before_departure": "string",
        "max_return_time": "string",
        "max_same_day_per_customer": "string",
        "min_departure_time": "string",
        "min_hours": "string",
        "min_hours_before_departure": "string",
        "min_return_time": "string",
        "rental_end": "string",
        "rental_start": "string",
        "status": "string",
        "tenant": "string",
        "updated_at": "string",
        "valid_days": "string",
        "valid_styles": "string"
    }
  • created: 2023-02-06 01:54:56
  • ddl:
    {
        "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
        "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_imscoupons`\n(\n `tenant`  string , `id`  string , `location_id`  string , `code`  string , `coupon_name`  string , `coupon_type`  string , `coupon_amount`  string , `count_allowed`  string , `count_allowed_daily`  string , `count_used`  string , `rental_start`  string , `rental_end`  string , `coupon_start`  string , `coupon_end`  string , `min_departure_time`  string , `max_departure_time`  string , `min_return_time`  string , `max_return_time`  string , `min_hours`  string , `max_hours`  string , `min_hours_before_departure`  string , `max_hours_before_departure`  string , `max_same_day_per_customer`  string , `max_active_per_customer`  string , `disable_consecutive_per_customer`  string , `status`  string , `valid_days`  string , `holidays_only_if_valid_day`  string , `valid_styles`  string , `created_at`  string , `updated_at`  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-stage/raw/stellar_imscoupons/2023-02-06/1675669789'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
        "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_imscoupons`",
        "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_imscoupons"
    }
Server:
  • hostname: schemamanager-5c55c886bf-h2ts4
  • name: schema_manager
  • process_start: 2025-10-21 13:03:27
  • sf_env: stage
  • version: 2112174301
Raw:
{
    "name": {
        "created": "2023-01-31 12:01:05",
        "disabled": false,
        "format": "raw",
        "id": 1705,
        "is_partitioned": false,
        "is_schema_datatyped": true,
        "name": {
            "database": "sfdl_stage_drivethru",
            "table": "stellar_imscoupons"
        },
        "type": "drivethrucsv"
    },
    "partition": {
        "count": 0,
        "ddl": null,
        "name": null,
        "state": [],
        "type": null
    },
    "schema": {
        "attributes": {
            "code": "string",
            "count_allowed": "string",
            "count_allowed_daily": "string",
            "count_used": "string",
            "coupon_amount": "string",
            "coupon_end": "string",
            "coupon_name": "string",
            "coupon_start": "string",
            "coupon_type": "string",
            "created_at": "string",
            "disable_consecutive_per_customer": "string",
            "holidays_only_if_valid_day": "string",
            "id": "string",
            "location_id": "string",
            "max_active_per_customer": "string",
            "max_departure_time": "string",
            "max_hours": "string",
            "max_hours_before_departure": "string",
            "max_return_time": "string",
            "max_same_day_per_customer": "string",
            "min_departure_time": "string",
            "min_hours": "string",
            "min_hours_before_departure": "string",
            "min_return_time": "string",
            "rental_end": "string",
            "rental_start": "string",
            "status": "string",
            "tenant": "string",
            "updated_at": "string",
            "valid_days": "string",
            "valid_styles": "string"
        },
        "created": "2023-02-06 01:54:56",
        "ddl": {
            "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
            "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_imscoupons`\n(\n `tenant`  string , `id`  string , `location_id`  string , `code`  string , `coupon_name`  string , `coupon_type`  string , `coupon_amount`  string , `count_allowed`  string , `count_allowed_daily`  string , `count_used`  string , `rental_start`  string , `rental_end`  string , `coupon_start`  string , `coupon_end`  string , `min_departure_time`  string , `max_departure_time`  string , `min_return_time`  string , `max_return_time`  string , `min_hours`  string , `max_hours`  string , `min_hours_before_departure`  string , `max_hours_before_departure`  string , `max_same_day_per_customer`  string , `max_active_per_customer`  string , `disable_consecutive_per_customer`  string , `status`  string , `valid_days`  string , `holidays_only_if_valid_day`  string , `valid_styles`  string , `created_at`  string , `updated_at`  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-stage/raw/stellar_imscoupons/2023-02-06/1675669789'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
            "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_imscoupons`",
            "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_imscoupons"
        }
    },
    "server": {
        "hostname": "schemamanager-5c55c886bf-h2ts4",
        "name": "schema_manager",
        "process_start": "2025-10-21 13:03:27",
        "sf_env": "stage",
        "version": "2112174301"
    }
}