code: def test_create_filter_clauses(schema_mapping, expected):
      information_table = Table(
          "columns",
          MetaData(),
          *[
              Column(name)
              for name in [
                  "table_schema",
                  "table_name",
                  "column_name",
                  "ordinal_position",
                  "udt_name",
                  "table_database",
              ]
          ],
          schema="information_schema",
      )
      clauses = create_filter_clauses(schema_mapping, information_table)
      assert (
          str(clauses.compile(compile_kwargs={"literal_binds": True}))
          == expected
      )
  
file_path: airflow/tests/providers/openlineage/utils/test_sql.py
imports: from __future__ import annotations
  from unittest.mock import MagicMock
  import pytest
  from openlineage.client.facet import SchemaDatasetFacet, SchemaField, set_producer
  from openlineage.client.run import Dataset
  from openlineage.common.models import DbColumn, DbTableSchema
  from openlineage.common.sql import DbTableMeta
  from sqlalchemy import Column, MetaData, Table
  from airflow.providers.openlineage import __version__
  from airflow.providers.openlineage.utils.sql import create_filter_clauses, create_information_schema_query, get_table_schemas
label_desc: Use image node_id 5 for calling a global function with example usage: test_create_filter_clauses(schema_mapping, expected) without return types