code: def test_table_explode():
      hl.reset_global_randomness()
      ht = hl.utils.range_table(5)
      ht = ht.annotate(x=hl.range(hl.rand_int32(5)))
      ht = ht.explode("x")
      expected = [
          hl.Struct(idx=0, x=0),
          hl.Struct(idx=0, x=1),
          hl.Struct(idx=0, x=2),
          hl.Struct(idx=0, x=3),
          hl.Struct(idx=1, x=0),
          hl.Struct(idx=1, x=1),
          hl.Struct(idx=1, x=2),
          hl.Struct(idx=2, x=0),
          hl.Struct(idx=2, x=1),
          hl.Struct(idx=3, x=0),
          hl.Struct(idx=3, x=1),
          hl.Struct(idx=3, x=2),
          hl.Struct(idx=4, x=0),
          hl.Struct(idx=4, x=1),
          hl.Struct(idx=4, x=2),
      ]
      actual = ht.collect()
      assert expected == actual
  
imports: import hail
  from .helpers import qobtest
label_desc: Use image node_id 1 for calling a global function with example usage: test_table_explode() without return types