Skip to content

Dev/mip 278/state and transfer multiple returns

Created by: ThanKarab

Changelog

UDFGenerator:

  • Added multiple return logic in the generate_udf_queries output, an object of UDFExecutionQueries is now returned.
  • Added support for udfs to return multiple state or transfer output tables.
  • Added unit test class _TestGenerateUDFQueries to remove generate_udf_queries duplication. Every test class that inheritcs from it will run this test.
  • Fixed tests using a hardcoded monetdb image. Added monetdb build in the unit tests.

NODE:

  • The shared task run_udf is refactored to receive UDFExecutionQueries from the udfgenerator.
  • The run_udf of the monetdb_interface is now receiving a list of query strings to be executed in the database. The strings received contain only one statement. DROP and CREATE are provided separately.
  • Added integrity error retry interval.
  • Added test for get_udf, run_udf, run_udf with multiple returns and run_udf time limit exception.

CONTROLLER:

  • Added multiple return logic in the run_udf.
  • The share_to_local/global parameter in the run_on_locals/global now also supports a tuple of booleans.
  • Fixed validator bug where x,y were not optional.
  • Fixed algorithm_executor bug where x,y were not optional.
  • Added new algorithm with local/global step logic and test for it.

DEPLOYMENT:

  • The engine now has a dynamic way of receiving the algorithm path.
  • Added an algorithm_folders option in the .deployment.toml file.

TESTS:

  • Renamed the test folders based on the environment type used. README added as well.

Merge request reports