code: def test_construct_where_query_string(sagemaker_session_mock):
      feature_group = FeatureGroup(
          name="MyFeatureGroup",
          sagemaker_session=sagemaker_session_mock,
      )
      dataset_builder = DatasetBuilder(
          sagemaker_session=sagemaker_session_mock,
          base=feature_group,
          output_path="file/to/path",
      )
      time = datetime.datetime.now().replace(microsecond=0)
      start = time + datetime.timedelta(minutes=1)
      end = start + datetime.timedelta(minutes=1)
      dataset_builder._write_time_ending_timestamp = time
      dataset_builder._event_time_starting_timestamp = start
      dataset_builder._event_time_ending_timestamp = end
      query_string = dataset_builder._construct_where_query_string(
          "suffix",
          FeatureDefinition("event-time", FeatureTypeEnum.STRING),
          ["NOT is_deleted"],
      )
      assert (
          query_string
          == "WHERE NOT is_deleted\n"
          + f"AND table_suffix.\"write_time\" <= to_timestamp('{time}', "
          + "'yyyy-mm-dd hh24:mi:ss')\n"
          + 'AND from_iso8601_timestamp(table_suffix."event-time") >= '
          + f"from_unixtime({start.timestamp()})\n"
          + 'AND from_iso8601_timestamp(table_suffix."event-time") <= '
          + f"from_unixtime({end.timestamp()})"
      )
  
imports: from __future__ import absolute_import
  import datetime
  import pandas
  import pytest
  import os
  from mock import Mock, patch
  from sagemaker.feature_store.dataset_builder import DatasetBuilder, FeatureGroupToBeMerged, TableType, JoinComparatorEnum, JoinTypeEnum
  from sagemaker.feature_store.feature_group import FeatureDefinition, FeatureGroup, FeatureTypeEnum
label_desc: Use image node_id 18 for calling a global function with example usage: test_construct_where_query_string(sagemaker_session_mock) without return types