code: def test_unphased_bgen(spark, tmp_path):
      spark.conf.set("spark.sql.autoBroadcastJoinThreshold", "-1")
      input_bgen = "test-data/bgen/example.8bits.bgen"
      hl.index_bgen(input_bgen, reference_genome=None)
      hail_df = functions.from_matrix_table(
          hl.import_bgen(input_bgen, entry_fields=["GP"])
      )
      _assert_lossless_adapter(
          spark,
          tmp_path,
          hail_df,
          input_bgen,
          "bgen",
          "bigbgen",
          writer_options={"bitsPerProbability": "8"},
      )
  
file_path: glow/python/glow/hail/tests/test_from_matrix_table.py
imports: from glow.hail import functions
  import hail
  from pyspark.sql import functions
  from pyspark.sql.types import ArrayType, StructType
  import pytest
label_desc: Use image node_id 8 for calling a global function with example usage: test_unphased_bgen(spark, tmp_path) without return types