📜  pyspark 会话 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:45.781000             🧑  作者: Mango

代码示例1
from pyspark.sql import SparkSession
spark = SparkSession.builder.master("yarn").appName("my app").enableHiveSupport().getOrCreate()