Schema Info
Schema Name: sfdl_prod_drivethru.stellar_mmspos_discounts
- created: 2023-02-06 12:14:04
- disabled: False
- format: raw
- id: 1416
- is_partitioned: False
- is_schema_datatyped: True
- name:
{ "database": "sfdl_prod_drivethru", "table": "stellar_mmspos_discounts" } - type: drivethrucsv
Schema Versions: 3
-
Version 1494792
- created: 2025-10-06 03:56:38
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/raw/stellar_mmspos_discounts/2025-10-06/1759740913'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/stellar_mmspos_discounts/2025-10-06/1759740913
- id: 1494792
- 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: 1416
- schema_scan_id: 151039918
- updated: 2025-10-06 03:56:49
-
Version 1493446
- created: 2025-10-05 03:52:53
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/raw/stellar_mmspos_discounts/2025-10-05/1759654257'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/stellar_mmspos_discounts/2025-10-05/1759654257
- id: 1493446
- 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: 1416
- schema_scan_id: 150979275
- updated: 2025-10-05 03:53:04
-
Version 1492172
- created: 2025-10-04 03:53:54
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmspos_discounts`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/raw/stellar_mmspos_discounts/2025-10-04/1759567938'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmspos_discounts" ] - hive_path: s3://sfdl-drivethrucsv-drivethru-prod/raw/stellar_mmspos_discounts/2025-10-04/1759567938
- id: 1492172
- 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: 1416
- schema_scan_id: 150914922
- updated: 2025-10-04 03:54:05
Schema Scans: 3
Last at 2025-10-06 03:56:37
-
Scan 151039918
- duration: 0:00:11.916907
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 151039918
- 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/stellar_mmspos_discounts/2025-10-06/1759740913", "key": "raw/stellar_mmspos_discounts/2025-10-06/1759740913/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 9409493377421929480, "service_name": "drive-thru", "span_id": 9572219803387298294, "trace_id": 4604042253381833379 } } - running: False
- schema_name_id: 1416
- start_time: 2025-10-06 03:56:37
- success: True
- trace_id: 4604042253381833379
-
Scan 150979275
- duration: 0:00:11.975727
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 150979275
- 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/stellar_mmspos_discounts/2025-10-05/1759654257", "key": "raw/stellar_mmspos_discounts/2025-10-05/1759654257/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 1728399190920442559, "service_name": "drive-thru", "span_id": 7960047582688122082, "trace_id": 18299165968351729220 } } - running: False
- schema_name_id: 1416
- start_time: 2025-10-05 03:52:52
- success: True
- trace_id: 18299165968351729220
-
Scan 150914922
- duration: 0:00:12.067582
- exit_message:
{ "ddl_changed": true, "partitions_applied": false, "success": true } - id: 150914922
- 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/stellar_mmspos_discounts/2025-10-04/1759567938", "key": "raw/stellar_mmspos_discounts/2025-10-04/1759567938/pos_discounts.csv.gz" }, "schema": { "name": "sfdl_prod_drivethru.stellar_mmspos_discounts", "type": "drivethrucsv" }, "trace_context": { "parent_id": 12344186231671114102, "service_name": "drive-thru", "span_id": 17931904552977677430, "trace_id": 7402088962739453 } } - running: False
- schema_name_id: 1416
- start_time: 2025-10-04 03:53:53
- success: True
- trace_id: 7402088962739453
- 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: 2025-10-06 03:56:38
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/raw/stellar_mmspos_discounts/2025-10-06/1759740913'\nTBLPROPERTIES ('skip.header.line.count' = '1')", "drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmspos_discounts`", "repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmspos_discounts" }
- hostname: schemamanager-5475496c57-7dpqb
- name: schema_manager
- process_start: 2026-01-09 11:27:47
- sf_env: prod
- version: 2112174301
{
"name": {
"created": "2023-02-06 12:14:04",
"disabled": false,
"format": "raw",
"id": 1416,
"is_partitioned": false,
"is_schema_datatyped": true,
"name": {
"database": "sfdl_prod_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": "2025-10-06 03:56:38",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_prod_drivethru`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_prod_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-prod/raw/stellar_mmspos_discounts/2025-10-06/1759740913'\nTBLPROPERTIES ('skip.header.line.count' = '1')",
"drop_table": "DROP TABLE IF EXISTS `sfdl_prod_drivethru.stellar_mmspos_discounts`",
"repair_table": "MSCK REPAIR TABLE sfdl_prod_drivethru.stellar_mmspos_discounts"
}
},
"server": {
"hostname": "schemamanager-5475496c57-7dpqb",
"name": "schema_manager",
"process_start": "2026-01-09 11:27:47",
"sf_env": "prod",
"version": "2112174301"
}
}