Is it safe to do table.insert on list type


I need to do sort on list type. I try table.insert() function on list type and it works well. I am thinking there might be some reason that list() doesn’t have an api for inserting.

Currently we do not have have a way to directly do a list.insert() as a bin operation today. This is something we are looking into enhancing.

For now, It is possible to do this in UDF today, by reading in a list bin in UDF, make appropriate insertion/update, and save the record back.

Hope this helps.