code: def _create_column_from_name(name: str) -> "Column":
      sc = get_active_spark_context()
      return cast(JVMView, sc._jvm).functions.col(name)
  
imports: import sys
  import json
  import warnings
  from typing import cast, overload, Any, Callable, Iterable, List, Optional, Tuple, TYPE_CHECKING, Union
  from py4j.java_gateway import JavaObject, JVMView
  from pyspark import copy_func
  from pyspark.context import SparkContext
  from pyspark.errors import PySparkAttributeError, PySparkTypeError, PySparkValueError
  from pyspark.sql.types import DataType
  from pyspark.sql.utils import get_active_spark_context
label_desc: Use image node_id 2 for calling a global function with example usage: _create_column_from_name(name) and returns: cast