Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Flow Using Random Function

Summary

Identify Transformers (or other stages) using Random functions which produce non-deterministic output.

Description

Rand(), Random() and Srandom() are examples of functions which produce non-deterministic output. Output columns whose values are dependent upon these functions will produce unexpected results which cannot, therefore, be useed in MettleCI unit tests.

Actions

Parameterise your flow designs so that the non-deterministic value you require is provided as a flow parameter. This value can then be fixed for unit testing purposes.


Back to top

Copyright © 2017-2024 Data Migrators Pty Ltd.