code: def load_dataset_with_columns() -> Generator[SqlaTable, None, None]:
      with app.app_context():
          engine = create_engine(
              app.config["SQLALCHEMY_DATABASE_URI"], echo=True
          )
          meta = MetaData()
          session = db.session
  
          students = Table(
              "students",
              meta,
              Column("id", Integer, primary_key=True),
              Column("name", String(255)),
              Column("lastname", String(255)),
              Column("ds", Date),
          )
          meta.create_all(engine)
  
          students.insert().values(name="George", ds="2021-01-01")
  
          dataset = SqlaTable(
              database_id=db.session.query(Database).first().id,
              table_name="students",
          )
          column = TableColumn(table_id=dataset.id, column_name="name")
          dataset.columns = [column]
          session.add(dataset)
          session.commit()
          yield dataset
  
          # cleanup
          students_table = meta.tables.get("students")
          if students_table is not None:
              base = declarative_base()
              # needed for sqlite
              session.commit()
              base.metadata.drop_all(
                  engine, [students_table], checkfirst=True
              )
          session.delete(dataset)
          session.delete(column)
          session.commit()
  
file_path: superset/tests/integration_tests/fixtures/datasource.py
imports: from collections.abc import Generator
  from typing import Any
  import pytest
  from sqlalchemy import Column, create_engine, Date, Integer, MetaData, String, Table
  from sqlalchemy.ext.declarative import declarative_base
  from superset.columns.models import Column
  from superset.connectors.sqla.models import SqlaTable, TableColumn
  from superset.extensions import db
  from superset.models.core import Database
  from superset.tables.models import Table
  from superset.utils.core import get_example_default_schema
  from superset.utils.database import get_example_database
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 2 for calling a global function with example usage: load_dataset_with_columns() without return types