Tvf

Zwraca element TableValuedFunction , który może służyć do wywoływania funkcji wartości tabeli (TVF).

Składnia

tvf

Zwroty

tvf.TableValuedFunction

Examples

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|
# +---+