Shouldn't the function "a" have a single parameter called first with type Callable[[Column], Column] instead of Callable[[Column]:?
Same for the second example that contains quotation marks.
It seems comma is used without taking in account the parent squared brakets.
Both of those examples are using Column from pyspark. Within the pyspark code we have datatypes like Union[int, "Column"]
Considering the following demo functions:
Shouldn't the function "a" have a single parameter called first with type
Callable[[Column], Column]
instead ofCallable[[Column]:
? Same for the second example that contains quotation marks. It seems comma is used without taking in account the parent squared brakets. Both of those examples are using Column from pyspark. Within the pyspark code we have datatypes likeUnion[int, "Column"]