code: def test_get_s3_partitions_offset_filter_condition(
      mock_get_ymdh, param, input_loader
  ):
      start_offset, end_offset, expected_condition_str = param
  
      condition = (
          input_loader._get_s3_partitions_offset_filter_condition(
              start_offset, end_offset
          )
      )
  
      if start_offset or end_offset:
          mock_get_ymdh.assert_has_calls(
              [call(start_offset), call(end_offset)]
          )
      else:
          mock_get_ymdh.assert_not_called()
  
      assert condition == expected_condition_str
  
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 17 for calling a global function with example usage: test_get_s3_partitions_offset_filter_condition(mock_get_ymdh, param, input_loader) without return types