pyspark.sql.SparkSession.addTag

SparkSession.addTag(tag: str) → None[source]

Add a tag to be assigned to all the operations started by this thread in this session.

New in version 3.5.0.

Parameters
taglist of str

The tag to be added. Cannot contain ‘,’ (comma) character or be an empty string.