tvf

Devuelve un TableValuedFunction que se puede usar para llamar a una función con valores de tabla (TVF).

Sintaxis

tvf

Devoluciones

tvf.TableValuedFunction

Ejemplos

import pyspark.sql.functions as sf

spark.tvf.explode(sf.array(sf.lit(1), sf.lit(2), sf.lit(3))).show()
# +---+
# |col|
# +---+
# |  1|
# |  2|
# |  3|
# +---+