code: def _get_mlflow_spark_jar_path():
      jar_dir = os.path.join(
          os.path.dirname(mlflow.__file__), "java", "spark", "target"
      )
      jar_filenames = [
          fname
          for fname in os.listdir(jar_dir)
          if ".jar" in fname
          and "sources" not in fname
          and "javadoc" not in fname
      ]
      return os.path.abspath(os.path.join(jar_dir, jar_filenames[0]))
  
file_path: mlflow/tests/spark/autologging/utils.py
imports: import os
  from pyspark.sql import SparkSession
  import mlflow
  from mlflow._spark_autologging import _SPARK_TABLE_INFO_TAG_NAME
label_desc: Use image node_id 1 for calling a global function with example usage: _get_mlflow_spark_jar_path() and returns: os