Python UDFs: Changes to return value types for semi-structured data

Attention

This behavior change is in the 2024_03 bundle.

For the current status of the bundle, refer to Bundle History.

The behavior of Python UDFs that return an Array, Object, or Variant has changed slightly. When Python UDFs return a floating point number in the handler, the behavior is as follows:

Before the change:

For Python float numeric type values, scientific notation values are deserialized as scientific notation values; otherwise, they are deserialized to FIXED values.

After the change:

All Python float numbers are deserialized as scientific notation values.

Ref: 1546