code: def testGetQueryForSpan(self):
      query = "select * from table"
      self.assertEqual(
          utils.get_query_for_span(query, 1), "select * from table"
      )
      query = "select * from table where date=@span_yyyymmdd_utc"
      self.assertEqual(
          utils.get_query_for_span(query, 1),
          "select * from table where date='19700102'",
      )
      query = (
          "select * from table where "
          "ts>=TIMESTAMP_SECONDS(@span_begin_timestamp) and "
          "ts<TIMESTAMP_SECONDS(@span_end_timestamp)"
      )
      self.assertEqual(
          utils.get_query_for_span(query, 2),
          "select * from table where ts>=TIMESTAMP_SECONDS(172800) and ts<TIMESTAMP_SECONDS(259200)",
      )
  
imports: import os
  import re
  import tensorflow
  from tfx.components.example_gen import utils
  from tfx.dsl.io import fileio
  from tfx.orchestration import data_types
  from tfx.proto import example_gen_pb2
  from tfx.proto import range_config_pb2
  from tfx.utils import io_utils
  from tfx.utils import json_utils
label_desc: Use image node_id 36 for calling the UtilsTest obj's underlying member method code with example usage: obj.testGetQueryForSpan() without return types