code: def input_loader(
      spark_session_factory, sagemaker_session, environment_helper
  ):
      return SparkDataFrameInputLoader(
          spark_session_factory,
          environment_helper,
          sagemaker_session,
      )
  
imports: from __future__ import absolute_import
  import pytest
  import test_data_helpers
  from mock import Mock, patch, call
  from pyspark.sql import SparkSession, DataFrame
  from sagemaker.feature_store.feature_processor._data_source import CSVDataSource, FeatureGroupDataSource, ParquetDataSource, IcebergTableDataSource
  from sagemaker.feature_store.feature_processor._input_loader import SparkDataFrameInputLoader
  from sagemaker.feature_store.feature_processor._spark_factory import SparkSessionFactory
  from sagemaker.feature_store.feature_processor._env import EnvironmentHelper
  from sagemaker.session import Session
label_desc: Use image node_id 8 for calling a global function with example usage: input_loader(spark_session_factory, sagemaker_session, environment_helper) and returns: SparkDataFrameInputLoader