code: def test_incorrectly_typed_sample_ids(spark):
      df = spark.createDataFrame([__construct_row(1, 2)])
      with pytest.raises(Exception):
          wgr_functions.get_sample_ids(df)
  
file_path: glow/python/glow/wgr/tests/test_sample_id_extraction.py
imports: import pytest
  from pyspark.sql import Row
  from pyspark.sql.utils import AnalysisException
  from glow.wgr import wgr_functions
label_desc: Use image node_id 5 for calling a global function with example usage: test_incorrectly_typed_sample_ids(spark) without return types