code: def test_asof_join_schema_5684() -> None:
      df_a = (
          pl.DataFrame(
              {
                  "id": [1],
                  "a": [1],
                  "b": [1],
              }
          )
          .lazy()
          .set_sorted("a")
      )
  
      df_b = (
          pl.DataFrame(
              {
                  "id": [1, 1, 2],
                  "b": [-3, -3, 6],
              }
          )
          .lazy()
          .set_sorted("b")
      )
  
      q = (
          df_a.join_asof(df_b, by="id", left_on="a", right_on="b")
          .drop("b")
          .join_asof(df_b, by="id", left_on="a", right_on="b")
          .drop("b")
      )
  
      projected_result = q.select(pl.all()).collect()
      result = q.collect()
  
      assert_frame_equal(projected_result, result)
      assert (
          q.schema
          == projected_result.schema
          == {"id": pl.Int64, "a": pl.Int64, "b_right": pl.Int64}
      )
  
imports: from datetime import date, datetime, timedelta
  from typing import Any
  import numpy
  import pytest
  import polars
  from polars.testing import assert_frame_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_asof_join_schema_5684() without return types