Schema Info
Schema Name: sfdl_stage_drivethru.stellar_mmspos_discounts
- created: 2023-01-30 18:11:36
- disabled: False
- format: raw
- id: 1654
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_stage_drivethru", "table": "stellar_mmspos_discounts" } - type: drivethrucsv
Schema Versions: 3
-
Version 495953
- created: 2023-02-06 01:27:09
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_mmspos_discounts`\n(\n `tenant` string , `id` string , `name` string , `status` string , `operator` string , `type` string , `amount` string , `minimum_subtotal` string , `maximum_subtotal` string , `minimum_quantity` string , `maximum_quantity` string , `discount_start_date` string , `discount_end_date` string , `max_uses_per_coupon` string , `max_uses_per_coupon_code` string , `max_uses_per_customer` string , `created_at` string , `updated_at` string , `created_by` string , `updated_by` string , `location_id` string , `mapped_revenue_item` string , `discount_level` string , `inclusion_type` 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_mmspos_discounts/2023-02-06/1675667640'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_mmspos_discounts/2023-02-06/1675667640
- id: 495953
- processed: 1
- raw_data:
{ "amount": 6, "created_at": 16, "created_by": 18, "discount_end_date": 12, "discount_level": 22, "discount_start_date": 11, "id": 1, "inclusion_type": 23, "location_id": 20, "mapped_revenue_item": 21, "max_uses_per_coupon": 13, "max_uses_per_coupon_code": 14, "max_uses_per_customer": 15, "maximum_quantity": 10, "maximum_subtotal": 8, "minimum_quantity": 9, "minimum_subtotal": 7, "name": 2, "operator": 4, "status": 3, "tenant": 0, "type": 5, "updated_at": 17, "updated_by": 19 } - schema_attributes:
{ "amount": "string", "created_at": "string", "created_by": "string", "discount_end_date": "string", "discount_level": "string", "discount_start_date": "string", "id": "string", "inclusion_type": "string", "location_id": "string", "mapped_revenue_item": "string", "max_uses_per_coupon": "string", "max_uses_per_coupon_code": "string", "max_uses_per_customer": "string", "maximum_quantity": "string", "maximum_subtotal": "string", "minimum_quantity": "string", "minimum_subtotal": "string", "name": "string", "operator": "string", "status": "string", "tenant": "string", "type": "string", "updated_at": "string", "updated_by": "string" } - schema_name_id: 1654
- schema_scan_id: 4595600
- updated: 2023-02-06 01:27:20
-
Version 495166
- created: 2023-02-05 01:16:41
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_mmspos_discounts`\n(\n `tenant` string , `id` string , `name` string , `status` string , `operator` string , `type` string , `amount` string , `minimum_subtotal` string , `maximum_subtotal` string , `minimum_quantity` string , `maximum_quantity` string , `discount_start_date` string , `discount_end_date` string , `max_uses_per_coupon` string , `max_uses_per_coupon_code` string , `max_uses_per_customer` string , `created_at` string , `updated_at` string , `created_by` string , `updated_by` string , `location_id` string , `mapped_revenue_item` string , `discount_level` string , `inclusion_type` 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_mmspos_discounts/2023-02-05/1675581158'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_mmspos_discounts/2023-02-05/1675581158
- id: 495166
- processed: 1
- raw_data:
{ "amount": 6, "created_at": 16, "created_by": 18, "discount_end_date": 12, "discount_level": 22, "discount_start_date": 11, "id": 1, "inclusion_type": 23, "location_id": 20, "mapped_revenue_item": 21, "max_uses_per_coupon": 13, "max_uses_per_coupon_code": 14, "max_uses_per_customer": 15, "maximum_quantity": 10, "maximum_subtotal": 8, "minimum_quantity": 9, "minimum_subtotal": 7, "name": 2, "operator": 4, "status": 3, "tenant": 0, "type": 5, "updated_at": 17, "updated_by": 19 } - schema_attributes:
{ "amount": "string", "created_at": "string", "created_by": "string", "discount_end_date": "string", "discount_level": "string", "discount_start_date": "string", "id": "string", "inclusion_type": "string", "location_id": "string", "mapped_revenue_item": "string", "max_uses_per_coupon": "string", "max_uses_per_coupon_code": "string", "max_uses_per_customer": "string", "maximum_quantity": "string", "maximum_subtotal": "string", "minimum_quantity": "string", "minimum_subtotal": "string", "name": "string", "operator": "string", "status": "string", "tenant": "string", "type": "string", "updated_at": "string", "updated_by": "string" } - schema_name_id: 1654
- schema_scan_id: 4592695
- updated: 2023-02-05 01:16:52
-
Version 494542
- created: 2023-02-04 01:13:56
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_mmspos_discounts`\n(\n `tenant` string , `id` string , `name` string , `status` string , `operator` string , `type` string , `amount` string , `minimum_subtotal` string , `maximum_subtotal` string , `minimum_quantity` string , `maximum_quantity` string , `discount_start_date` string , `discount_end_date` string , `max_uses_per_coupon` string , `max_uses_per_coupon_code` string , `max_uses_per_customer` string , `created_at` string , `updated_at` string , `created_by` string , `updated_by` string , `location_id` string , `mapped_revenue_item` string , `discount_level` string , `inclusion_type` 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_mmspos_discounts/2023-02-04/1675494381'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-stage/raw/stellar_mmspos_discounts/2023-02-04/1675494381
- id: 494542
- processed: 1
- raw_data:
{ "amount": 6, "created_at": 16, "created_by": 18, "discount_end_date": 12, "discount_level": 22, "discount_start_date": 11, "id": 1, "inclusion_type": 23, "location_id": 20, "mapped_revenue_item": 21, "max_uses_per_coupon": 13, "max_uses_per_coupon_code": 14, "max_uses_per_customer": 15, "maximum_quantity": 10, "maximum_subtotal": 8, "minimum_quantity": 9, "minimum_subtotal": 7, "name": 2, "operator": 4, "status": 3, "tenant": 0, "type": 5, "updated_at": 17, "updated_by": 19 } - schema_attributes:
{ "amount": "string", "created_at": "string", "created_by": "string", "discount_end_date": "string", "discount_level": "string", "discount_start_date": "string", "id": "string", "inclusion_type": "string", "location_id": "string", "mapped_revenue_item": "string", "max_uses_per_coupon": "string", "max_uses_per_coupon_code": "string", "max_uses_per_customer": "string", "maximum_quantity": "string", "maximum_subtotal": "string", "minimum_quantity": "string", "minimum_subtotal": "string", "name": "string", "operator": "string", "status": "string", "tenant": "string", "type": "string", "updated_at": "string", "updated_by": "string" } - schema_name_id: 1654
- schema_scan_id: 4589664
- updated: 2023-02-04 01:14:07
Schema Scans: 3
Last at 2023-02-06 01:27:08
-
Scan 4595600
- duration: 0:00:11.903552
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 4595600
- 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_mmspos_discounts/2023-02-06/1675667640", "key": "raw/stellar_mmspos_discounts/2023-02-06/1675667640/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_stage_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 5279916610873898403, "service_name": "drive-thru", "span_id": 3486350058326695594, "trace_id": 2837130434882017088 } } - running: False
- schema_name_id: 1654
- start_time: 2023-02-06 01:27:08
- success: True
- trace_id: 2837130434882017088
-
Scan 4592695
- duration: 0:00:11.867000
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 4592695
- 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_mmspos_discounts/2023-02-05/1675581158", "key": "raw/stellar_mmspos_discounts/2023-02-05/1675581158/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_stage_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 16512600859402328263, "service_name": "drive-thru", "span_id": 5349552445819381734, "trace_id": 7781184336856128741 } } - running: False
- schema_name_id: 1654
- start_time: 2023-02-05 01:16:40
- success: True
- trace_id: 7781184336856128741
-
Scan 4589664
- duration: 0:00:12.062433
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 4589664
- 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_mmspos_discounts/2023-02-04/1675494381", "key": "raw/stellar_mmspos_discounts/2023-02-04/1675494381/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_stage_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 6430185157397084784, "service_name": "drive-thru", "span_id": 4951208873703278766, "trace_id": 5228573987909954779 } } - running: False
- schema_name_id: 1654
- start_time: 2023-02-04 01:13:55
- success: True
- trace_id: 5228573987909954779
- attributes:
{ "amount": "string", "created_at": "string", "created_by": "string", "discount_end_date": "string", "discount_level": "string", "discount_start_date": "string", "id": "string", "inclusion_type": "string", "location_id": "string", "mapped_revenue_item": "string", "max_uses_per_coupon": "string", "max_uses_per_coupon_code": "string", "max_uses_per_customer": "string", "maximum_quantity": "string", "maximum_subtotal": "string", "minimum_quantity": "string", "minimum_subtotal": "string", "name": "string", "operator": "string", "status": "string", "tenant": "string", "type": "string", "updated_at": "string", "updated_by": "string" } - created: 2023-02-06 01:27:09
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_mmspos_discounts`\n(\n `tenant` string , `id` string , `name` string , `status` string , `operator` string , `type` string , `amount` string , `minimum_subtotal` string , `maximum_subtotal` string , `minimum_quantity` string , `maximum_quantity` string , `discount_start_date` string , `discount_end_date` string , `max_uses_per_coupon` string , `max_uses_per_coupon_code` string , `max_uses_per_customer` string , `created_at` string , `updated_at` string , `created_by` string , `updated_by` string , `location_id` string , `mapped_revenue_item` string , `discount_level` string , `inclusion_type` 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_mmspos_discounts/2023-02-06/1675667640'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_mmspos_discounts`", "repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_mmspos_discounts" }
- hostname: schemamanager-5c55c886bf-h2ts4
- name: schema_manager
- process_start: 2025-10-21 13:03:27
- sf_env: stage
- version: 2112174301
{
"name": {
"created": "2023-01-30 18:11:36",
"disabled": false,
"format": "raw",
"id": 1654,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_stage_drivethru",
"table": "stellar_mmspos_discounts"
},
"type": "drivethrucsv"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"amount": "string",
"created_at": "string",
"created_by": "string",
"discount_end_date": "string",
"discount_level": "string",
"discount_start_date": "string",
"id": "string",
"inclusion_type": "string",
"location_id": "string",
"mapped_revenue_item": "string",
"max_uses_per_coupon": "string",
"max_uses_per_coupon_code": "string",
"max_uses_per_customer": "string",
"maximum_quantity": "string",
"maximum_subtotal": "string",
"minimum_quantity": "string",
"minimum_subtotal": "string",
"name": "string",
"operator": "string",
"status": "string",
"tenant": "string",
"type": "string",
"updated_at": "string",
"updated_by": "string"
},
"created": "2023-02-06 01:27:09",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_stage_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_stage_drivethru.stellar_mmspos_discounts`\n(\n `tenant` string , `id` string , `name` string , `status` string , `operator` string , `type` string , `amount` string , `minimum_subtotal` string , `maximum_subtotal` string , `minimum_quantity` string , `maximum_quantity` string , `discount_start_date` string , `discount_end_date` string , `max_uses_per_coupon` string , `max_uses_per_coupon_code` string , `max_uses_per_customer` string , `created_at` string , `updated_at` string , `created_by` string , `updated_by` string , `location_id` string , `mapped_revenue_item` string , `discount_level` string , `inclusion_type` 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_mmspos_discounts/2023-02-06/1675667640'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_stage_drivethru.stellar_mmspos_discounts`",
"repair_table": "MSCK REPAIR TABLE sfdl_stage_drivethru.stellar_mmspos_discounts"
}
},
"server": {
"hostname": "schemamanager-5c55c886bf-h2ts4",
"name": "schema_manager",
"process_start": "2025-10-21 13:03:27",
"sf_env": "stage",
"version": "2112174301"
}
}