Hi, I have written a Scalar function for Vertica to get the polarity. Though it produces the correct output for one row input, but for inputs more than one row in length, I get the following error: ERROR: User-defined Scalar Function <function_name> produced fewer output rows (1) than input rows (18...