Fwd: Question about ARRAY_INSERT between Spark and Databricks

2023-08-14 Thread Ran Tao
unctions/array_insert.html Best Regards, Ran Tao Sean Owen 于2023年8月14日周一 11:58写道: > Oh I get it. Let me report to the docs people (I'm at databricks) > > On Sun, Aug 13, 2023, 10:56 PM Ran Tao wrote: > >> Yes, the databricks runtime 13.0 and 13.1 and 13.2 are all ok and have >&g

Question about ARRAY_INSERT between Spark and Databricks

2023-08-13 Thread Ran Tao
b","c"] // databricks SELECT array_insert(array('a', 'b', 'c'), -5, 'z'); ["z",NULL,"a","b","c"] It looks like that inserting negative index is more reasonable in Databricks. Of cause, I read t