USING EXTERNAL FUNCTION compact_cells(h3array ARRAY(BIGINT))
RETURNS ARRAY(BIGINT)
LAMBDA '<ARN>'
SELECT compact_cells(h3cells) FROM (
USING EXTERNAL FUNCTION grid_disk(origin BIGINT, k INT) 
RETURNS ARRAY(BIGINT) 
LAMBDA '<ARN>'
SELECT grid_disk(622506764662964223, 5) AS h3cells)

-- [622506764671778815, 622506764676300799, 622506764676169727, 622506764670238719, 622506764672040959, 622506764672008191, 622506764671713279, 622506764671680511, 622506764671746047, 622506764675383295, 622506764676268031, 622506764676136959, 622506764676235263, 622506764667355135, 622506764667387903, 622506764670304255, 622506764670107647, 622506764670271487, 622506764666634239, 622506764666568703, 622506764673843199, 622506764673974271, 622506764674924543, 622506764674891775, 622506764671975423, 622506764671942655, 622506764672139263, 622506764671844351, 618003165041131519, 618003165048471551, 613499565410091007]
