code: def test_union_rows2():
      vds = hl.vds.read_vds(
          os.path.join(resource("vds"), "1kg_chr22_5_samples.vds")
      )
  
      vds1 = hl.vds.filter_intervals(
          vds,
          [
              hl.parse_locus_interval(
                  "chr22:start-10754094", reference_genome="GRCh38"
              )
          ],
          split_reference_blocks=True,
      )
      vds2 = hl.vds.filter_intervals(
          vds,
          [
              hl.parse_locus_interval(
                  "chr22:10754094-end", reference_genome="GRCh38"
              )
          ],
          split_reference_blocks=True,
      )
  
      vds1_trunc = hl.vds.truncate_reference_blocks(
          vds1, max_ref_block_base_pairs=50
      )
      vds2_trunc = hl.vds.truncate_reference_blocks(
          vds1, max_ref_block_base_pairs=75
      )
  
      vds_trunc_union = vds1_trunc.union_rows(vds2_trunc)
      assert (
          hl.eval(
              vds_trunc_union.reference_data.index_globals()[
                  hl.vds.VariantDataset.ref_block_max_length_field
              ]
          )
          == 75
      )
  
      assert (
          "max_ref_block_length"
          not in vds1_trunc.union_rows(vds2).reference_data.globals
      )
  
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 25 for calling a global function with example usage: test_union_rows2() without return types