[
https://issues.apache.org/jira/browse/SPARK-37638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon updated SPARK-37638:
---------------------------------
Summary: Use existing active Spark session instead of
SparkSession.getOrCreate in pandas API on Spark (was: Make static and core
configuration log less noisy when creating a Spark session)
> Use existing active Spark session instead of SparkSession.getOrCreate in
> pandas API on Spark
> --------------------------------------------------------------------------------------------
>
> Key: SPARK-37638
> URL: https://issues.apache.org/jira/browse/SPARK-37638
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.3.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Minor
>
> {code}
> >>> ps.range(10)
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; the
> static sql configurations will not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; some
> spark core configurations may not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; the
> static sql configurations will not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; some
> spark core configurations may not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; the
> static sql configurations will not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; some
> spark core configurations may not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; the
> static sql configurations will not take effect.
> 21/12/14 16:12:58 WARN SparkSession: Using an existing SparkSession; some
> spark core configurations may not take effect.
> 21/12/14 16:12:58 WARN WindowExec: No Partition Defined for Window operation!
> Moving all data to a single partition, this can cause serious performance
> degradation.
> 21/12/14 16:12:58 WARN WindowExec: No Partition Defined for Window operation!
> Moving all data to a single partition, this can cause serious performance
> degradation.
> 21/12/14 16:12:58 WARN WindowExec: No Partition Defined for Window operation!
> Moving all data to a single partition, this can cause serious performance
> degradation.
> id
> 0 0
> 1 1
> 2 2
> 3 3
> 4 4
> 5 5
> 6 6
> 7 7
> 8 8
> 9 9
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]