Skip to content

Dev/mip 277/udf generator new object iotypes

Created by: ThanKarab

Changelog

UDFGenerator:

  • Added State and Transfer types as udf input and output. Jira
  • UDFArguments are now used as UDFDefinition input not IOTypes.
  • IOType is split in InputType and OutputType.
  • Added validate_arg_types, that checks if the UDFArgument's type provided is the expected udf input type.
  • Added resolve_merge_table_args that checks if a UDFArgument's type should be changed to it's merge type, using the info from the udf decorator. Removed hack with sum_tensors.
  • Unit tests added.

NODE:

  • Added TableType as enumeration.
  • Added get_table_type in the monetdb_interface that fetches the type of a table.
  • Added type in the TableInfo class, needed from the generator to throw exception if a State dict is requested to be loaded from a REMOTE table.
  • Removed TableInfo dependency from various methods and tasks.

CONTROLLER:

  • Removed dependency of TableInfo from the controller.
  • get_remote_tables return type fixed.

Merge request reports