code: def test_split_sparse_roundtrip():
      vds = hl.vds.read_vds(
          os.path.join(resource("vds"), "1kg_chr22_5_samples.vds")
      )
      smt = hl.vds.to_merged_sparse_mt(vds)
      smt = hl.experimental.sparse_split_multi(smt)
      vds2 = hl.vds.VariantDataset.from_merged_representation(
          smt,
          ref_block_fields=list(vds.reference_data.entry),
          is_split=True,
      )
  
      vds_split = hl.vds.split_multi(vds)
      assert (
          vds2.variant_data.select_entries(
              *vds_split.variant_data.entry
          )
          .select_globals()
          ._same(vds_split.variant_data)
      )
      assert vds2.reference_data._same(
          vds_split.reference_data.drop("ref_allele")
      )
  
imports: import os
  import pytest
  import hail
  from hail.utils import new_temp_file
  from hail.vds.combiner.combine import defined_entry_fields
  from ..helpers import resource, test_timeout, qobtest
label_desc: Use image node_id 27 for calling a global function with example usage: test_split_sparse_roundtrip() without return types