MySQL HeatWave User Guide

11.1.5 MySQL HeatWave Lakehouse Error Messages

See MySQL 9.4 Error Message Reference for Lakehouse error messages.

As of MySQL 9.2.2, a detailed summary of warnings is available when loading data to Lakehouse. This includes warnings related to the schema inference stage of loading data.

The summaries include the following:

Refer to the following samples of warning summaries.

A warning summary for Lakehouse Load that includes the number of filtered warnings that are not recorded for the summary.

Warning 6434    [WARNINGS SUMMARY] Lakehouse Load had 27 warning(s) out of which 27 were not recorded (due to max_error_count limit or filtering rules)
Warning 6434    [WARNINGS SUMMARY] 22 warnings with code: 6053(ER_LH_WARN_EXCEEDS_MAX_TRUNCATING)
Warning 6434    [WARNINGS SUMMARY] 5 warnings with code: 6052(ER_LH_WARN_EXCEEDS_MIN_TRUNCATING)

A warning summary for Lakehouse Schema Inference with Autopilot that includes the number of filtered warnings that are not recorded for the summary.

{"message": "[WARNINGS SUMMARY] Lakehouse Schema Inference had 18 warning(s) out of which 1 were not recorded (due to max_error_count limit or filtering rules)", "table_name": "lineitem", "schema_name": "autoschema_tmp_db", "condition_no": 1}
{"message": "[WARNINGS SUMMARY] 16 warnings with code: 6062(ER_LH_COLUMN_MISMATCH_ERR)", "table_name": "lineitem", "schema_name": "autoschema_tmp_db", "condition_no": 2}
{"message": "[WARNINGS SUMMARY] 1 warnings with code: 6095(ER_LH_WARN_INFER_SKIPPED_LINES)", "table_name": "lineitem", "schema_name": "autoschema_tmp_db", "condition_no": 3}
{"message": "[WARNINGS SUMMARY] 1 warnings with code: 6063(ER_LH_COLUMN_MAX_ERR)", "table_name": "lineitem", "schema_name": "autoschema_tmp_db", "condition_no": 4}

As of MySQL 9.1.2, the following details are included in Lakehouse error and warning messages related to data files in the Object Storage bucket to help you understand them better:

Refer to the following sample error messages, for more information.

Some Lakehouse error and warning messages include the URL to the external object. The URL can contain up to 1024 characters, and exceed the error message limit of 512 characters. As of MySQL 9.0.1-u1, the truncated message will include a MySQL command to access the full error message. For example:

As of MySQL 9.0.1-u1, it is possible to filter out Lakehouse warning messages from the console, MySQL Shell and error log following a load command. The console Total Warnings will include both the displayed and the filtered warnings count. This does not filter error messages.

Use the lakehouse_filter_warning_codes_list session variable to filter warning messages by error code. For example:

mysql> SET @@session.lakehouse_filter_warning_codes_list = '6017,5099,6018';

Use the lakehouse_filter_warning_modes_list session variable to filter warning messages by mode. For example:

mysql> SET @@session.lakehouse_filter_warning_modes_list = 
       'NUMERIC_TRUNCATION,STRING_TRUNCATION,EMPTY_FILES,DUPLICATE_FILES';

The supported modes are: