New Features

MaxCompute - More Data Types Supported by Python UDFs

Jul 24 2020

MaxCompute
Python 2 and Python 3 user-defined functions (UDFs) support more data types.
Content

Target customers: developers. Features released: Python 2 and Python 3 UDFs now support DECIMAL in both the MaxCompute V1.0 and MaxCompute V2.0 data type editions. These UDFs also support complex data types (ARRAY, MAP, and STRUCT) and the nesting of complex data types. The UDFs contain user-defined scalar functions, user-defined table-valued functions (UDTFs), and user-defined aggregate functions (UDAFs). Python UDFs now support the following data types: DECIMAL in both the MaxCompute V1.0 and MaxCompute V2.0 data type editions, BIGINT, STRING, DOUBLE, BOOLEAN, and DATETIME. These UDFs also support complex data types (ARRAY, MAP, and STRUCT) and the nesting of complex data types. If you call Python 3 UDFs, such as get_cache_table, to read reference tables, the following data types are supported: DECIMAL in both the MaxCompute V1.0 and MaxCompute V2.0 data type editions, BIGINT, STRING, DOUBLE, BOOLEAN, DATETIME, FLOAT, CHAR, VARCHAR, BINARY, DATE, ARRAY, MAP, and STRUCT.

7th Gen ECS Is Now Available

Increase instance computing power by up to 40% and Fully equipped with TPM chips.
Powered by Third-generation Intel® Xeon® Scalable processors (Ice Lake).

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.