class_docstr: Tests pertaining to our Pinot database support
class_docstr_tok: ["Tests","pertaining","to","our","Pinot","database","support"]
code: def test_pinot_time_expression_simple_date_format_10m_grain(self):
      col = column("tstamp")
      expr = PinotEngineSpec.get_timestamp_expr(
          col, "%Y-%m-%d %H:%M:%S", "PT10M"
      )
      result = str(expr.compile())
      expected = (
          "CAST(ROUND(DATE_TRUNC('minute', CAST(tstamp AS "
          + "TIMESTAMP)), 600000) AS TIMESTAMP)"
      )
      self.assertEqual(
          result,
          expected,
      )
  
file_path: superset/tests/integration_tests/db_engine_specs/pinot_tests.py
imports: from sqlalchemy import column
  from superset.db_engine_specs.pinot import PinotEngineSpec
  from tests.integration_tests.db_engine_specs.base_tests import TestDbEngineSpec
label_desc: Use image node_id 3 for calling the TestPinotDbEngineSpec obj's underlying member method code with example usage: obj.test_pinot_time_expression_simple_date_format_10m_grain() without return types