yes, it should work similarly, thanks.

cast('int') vs cast(IntegerType()), I suppose both are identical?