KNOWLEDGE BASE

Error "Prepared statement needs to be re-prepared" When Running a Flow


Published: 12 Apr 2022
Last Modified Date: 13 Apr 2022

Issue

When running a flow in Tableau Prep, the following error may occur intermittently:

System error: AqlProcessor evaluation failed: [ma-3.1.X][10.X.X-MariaDB-log]Prepared statement needs to be re-prepared

Environment

  • Tableau Prep Builder
  • MariaDB 10.0, 10.1, 10.2, 10.3, 10.1.34, 10.4, 10.5, 10.6, 10.7

Resolution

Try the following workarounds:
  • Restart the MariaDB service.
  • Increase the table_definition_cache and table_open_cache values in the MariaDB Server configuration.

Cause

This behavior may be caused by issues with the MariaDB Server instance.

Additional Information

For more information about the related MariaDB Server bugs and their workarounds, see:
Did this article resolve the issue?