Schema Info
Schema Name: sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue
- created: 2024-05-09 13:20:01
- disabled: False
- format: raw
- id: 2284
- is_partitioned: False
- is_schema_datatyped: False
- name:
{ "database": "sfdl_dev_redshift", "table": "sandbox_rosettable_netsuite_revenue" } - type: redshift
Schema Versions: 2
-
Version 4705553
- created: 2024-05-09 13:30:03
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n", "MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue" ] - hive_path: s3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274
- id: 4705553
- processed: 0
- raw_data:
{ "contract_rate": "decimal128(18, 2)", "month": "date32[day]", "netsuite_internal_id": "string", "netsuite_item": "string", "normalized_product": "string", "reporting_date": "date32[day]", "source": "string" } - schema_attributes:
{ "contract_rate": "decimal128(18, 2)", "month": "date", "netsuite_internal_id": "string", "netsuite_item": "string", "normalized_product": "string", "reporting_date": "date", "source": "string" } - schema_name_id: 2284
- schema_scan_id: 6488219
- updated: None
-
Version 4705522
- created: 2024-05-09 13:20:02
- ddl:
[ "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`", "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\n", "MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue" ] - hive_path: s3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725
- id: 4705522
- processed: 0
- raw_data:
{ "contract_rate": "decimal128(18, 2)", "month": "date32[day]", "netsuite_internal_id": "string", "netsuite_item": "string", "normalized_product": "string", "reporting_date": "date32[day]", "source": "string" } - schema_attributes:
{ "contract_rate": "decimal128(18, 2)", "month": "date", "netsuite_internal_id": "string", "netsuite_item": "string", "normalized_product": "string", "reporting_date": "date", "source": "string" } - schema_name_id: 2284
- schema_scan_id: 6488084
- updated: None
Schema Scans: 2
Last at 2024-05-09 13:30:02
-
Scan 6488219
- duration: 0:00:08.633630
- exit_message:
{ "exception": "failed to apply schema `Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`', 'DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\\n(\\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \\n)\\nROW FORMAT SERDE\\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\\n \\nSTORED AS INPUTFORMAT\\n 'org.apache.hadoop.mapred.TextInputFormat'\\nOUTPUTFORMAT\\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\\nLOCATION\\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\\n\", 'MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue']\nTraceback (most recent call last):\n File \"/schema_manager/schema_generator/table_generator.py\", line 24, in apply_latest_version\n self.runner.run_multi_query(schema_version.ddl, timeout=DDLQueueWorker.TIMEOUT)\n File \"/src/athena-runner/athena_runner/runner.py\", line 133, in run_multi_query\n result = self.run_single_query(query, timeout, database)\n File \"/src/athena-runner/athena_runner/runner.py\", line 51, in run_single_query\n return self._run_single_query(query, timeout, database)\n File \"/src/athena-runner/athena_runner/runner.py\", line 120, in _run_single_query\n raise e\n File \"/src/athena-runner/athena_runner/runner.py\", line 103, in _run_single_query\n raise AthenaRunnerQueryException('Query failed: {} `{}`'.format(info['QueryExecution']['Status']['StateChangeReason'], query))\nathena_runner.exceptions.AthenaRunnerQueryException: Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n`\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/schema_manager/schema_generator/schema_scanner.py\", line 102, in scan\n response = service.run()\n File \"/schema_manager/schema_generator/process_hive_table.py\", line 98, in run\n response['ddl_changed'] = table_generator.run()\n File \"/schema_manager/schema_generator/table_generator.py\", line 35, in run\n self.apply_latest_version()\n File \"/schema_manager/schema_generator/table_generator.py\", line 26, in apply_latest_version\n raise Exception('failed to apply schema `{}`: {}'.format(e, schema_version.ddl))\nException: failed to apply schema `Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`', 'DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\\n(\\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \\n)\\nROW FORMAT SERDE\\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\\n \\nSTORED AS INPUTFORMAT\\n 'org.apache.hadoop.mapred.TextInputFormat'\\nOUTPUTFORMAT\\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\\nLOCATION\\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\\n\", 'MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue']\n: Expecting value: line 1 column 1 (char 0)" } - id: 6488219
- payload:
{ "datatype_dict": null, "file_format": "parquet", "is_schema_datatyped": false, "s3": { "bucket": "sfdl-redshift-sandbox-dev", "hive_path": "s3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274", "key": "raw/rosettable_netsuite_revenue/2024-05-09/1715279274/0007_part_00.parquet" }, "schema": { "name": "sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue", "type": "redshift" }, "trace_context": { "parent_id": 324863654255269225, "service_name": "drive-thru", "span_id": 13368454458335892946, "trace_id": 7295517097790966727 } } - running: False
- schema_name_id: 2284
- start_time: 2024-05-09 13:30:02
- success: False
- trace_id: 7295517097790966727
-
Scan 6488084
- duration: 0:00:08.634012
- exit_message:
{ "exception": "failed to apply schema `Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`', 'DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\\n(\\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \\n)\\nROW FORMAT SERDE\\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\\n \\nSTORED AS INPUTFORMAT\\n 'org.apache.hadoop.mapred.TextInputFormat'\\nOUTPUTFORMAT\\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\\nLOCATION\\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\\n\", 'MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue']\nTraceback (most recent call last):\n File \"/schema_manager/schema_generator/table_generator.py\", line 24, in apply_latest_version\n self.runner.run_multi_query(schema_version.ddl, timeout=DDLQueueWorker.TIMEOUT)\n File \"/src/athena-runner/athena_runner/runner.py\", line 133, in run_multi_query\n result = self.run_single_query(query, timeout, database)\n File \"/src/athena-runner/athena_runner/runner.py\", line 51, in run_single_query\n return self._run_single_query(query, timeout, database)\n File \"/src/athena-runner/athena_runner/runner.py\", line 120, in _run_single_query\n raise e\n File \"/src/athena-runner/athena_runner/runner.py\", line 103, in _run_single_query\n raise AthenaRunnerQueryException('Query failed: {} `{}`'.format(info['QueryExecution']['Status']['StateChangeReason'], query))\nathena_runner.exceptions.AthenaRunnerQueryException: Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\n`\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/schema_manager/schema_generator/schema_scanner.py\", line 102, in scan\n response = service.run()\n File \"/schema_manager/schema_generator/process_hive_table.py\", line 98, in run\n response['ddl_changed'] = table_generator.run()\n File \"/schema_manager/schema_generator/table_generator.py\", line 35, in run\n self.apply_latest_version()\n File \"/schema_manager/schema_generator/table_generator.py\", line 26, in apply_latest_version\n raise Exception('failed to apply schema `{}`: {}'.format(e, schema_version.ddl))\nException: failed to apply schema `Query failed: FAILED: ParseException line 4:18 cannot recognize input near 'decimal128' '(' '18' in column type `CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\n``: ['CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`', 'DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`', \"CREATE EXTERNAL TABLE IF NOT EXISTS\\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\\n(\\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \\n)\\nROW FORMAT SERDE\\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\\n \\nSTORED AS INPUTFORMAT\\n 'org.apache.hadoop.mapred.TextInputFormat'\\nOUTPUTFORMAT\\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\\nLOCATION\\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725'\\n\", 'MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue']\n: Expecting value: line 1 column 1 (char 0)" } - id: 6488084
- payload:
{ "datatype_dict": null, "file_format": "parquet", "is_schema_datatyped": false, "s3": { "bucket": "sfdl-redshift-sandbox-dev", "hive_path": "s3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715278725", "key": "raw/rosettable_netsuite_revenue/2024-05-09/1715278725/0007_part_00.parquet" }, "schema": { "name": "sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue", "type": "redshift" }, "trace_context": { "parent_id": 9964551355491157813, "service_name": "drive-thru", "span_id": 9292947575268137492, "trace_id": 14856370611251191123 } } - running: False
- schema_name_id: 2284
- start_time: 2024-05-09 13:20:01
- success: False
- trace_id: 14856370611251191123
- attributes:
{ "contract_rate": "decimal128(18, 2)", "month": "date", "netsuite_internal_id": "string", "netsuite_item": "string", "normalized_product": "string", "reporting_date": "date", "source": "string" } - created: 2024-05-09 13:30:03
- ddl:
{ "create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`", "create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n", "drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`", "repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue" }
- hostname: schemamanager-5447774fc6-4w58v
- name: schema_manager
- process_start: 2026-04-02 21:43:44
- sf_env: dev
- version: 2427328685
{
"name": {
"created": "2024-05-09 13:20:01",
"disabled": false,
"format": "raw",
"id": 2284,
"is_partitioned": false,
"is_schema_datatyped": false,
"name": {
"database": "sfdl_dev_redshift",
"table": "sandbox_rosettable_netsuite_revenue"
},
"type": "redshift"
},
"partition": {
"count": 0,
"ddl": null,
"name": null,
"state": [],
"type": null
},
"schema": {
"attributes": {
"contract_rate": "decimal128(18, 2)",
"month": "date",
"netsuite_internal_id": "string",
"netsuite_item": "string",
"normalized_product": "string",
"reporting_date": "date",
"source": "string"
},
"created": "2024-05-09 13:30:03",
"ddl": {
"create_database": "CREATE DATABASE IF NOT EXISTS `sfdl_dev_redshift`",
"create_table": "CREATE EXTERNAL TABLE IF NOT EXISTS\n`sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`\n(\n `contract_rate` decimal128(18, 2) , `month` date , `netsuite_internal_id` string , `netsuite_item` string , `normalized_product` string , `reporting_date` date , `source` string \n)\nROW FORMAT SERDE\n'org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe'\n \nSTORED AS INPUTFORMAT\n 'org.apache.hadoop.mapred.TextInputFormat'\nOUTPUTFORMAT\n 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat'\nLOCATION\n 's3://sfdl-redshift-sandbox-dev/raw/rosettable_netsuite_revenue/2024-05-09/1715279274'\n",
"drop_table": "DROP TABLE IF EXISTS `sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue`",
"repair_table": "MSCK REPAIR TABLE sfdl_dev_redshift.sandbox_rosettable_netsuite_revenue"
}
},
"server": {
"hostname": "schemamanager-5447774fc6-4w58v",
"name": "schema_manager",
"process_start": "2026-04-02 21:43:44",
"sf_env": "dev",
"version": "2427328685"
}
}