Reproduced in .csv file with 25 different fields, 2712474 lines and 570 MB amount of data.
When I registered jar in 1st node and ran long query with function for first time I had got error:
Error: SYSTEM ERROR: SchemaChangeException: Failure while trying to materialize incoming schema. Errors:
Error in expression at index 0. Error: Missing function implementation:[f(VARCHAR-OPTIONAL, VARCHAR-OPTIONAL). Full expression: null..
When I tried to run this query second time it finished correctly. It seems another nodes did not get new function.
So lazy-init does not work well on another nodes before query fails.