Skip to content

Commit d6f897a

Browse files
committed
Parent DataFrame class for Spark Connect and Spark Classic
1 parent 06b12fc commit d6f897a

File tree

17 files changed

+2735
-1738
lines changed

17 files changed

+2735
-1738
lines changed

dev/sparktestsupport/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ def __hash__(self):
477477
"pyspark.sql.conf",
478478
"pyspark.sql.catalog",
479479
"pyspark.sql.column",
480-
"pyspark.sql.dataframe",
480+
"pyspark.sql.classic.dataframe",
481481
"pyspark.sql.datasource",
482482
"pyspark.sql.group",
483483
"pyspark.sql.functions.builtin",

python/packaging/classic/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def run(self):
270270
"pyspark.ml.deepspeed",
271271
"pyspark.sql",
272272
"pyspark.sql.avro",
273+
"pyspark.sql.classic",
273274
"pyspark.sql.connect",
274275
"pyspark.sql.connect.avro",
275276
"pyspark.sql.connect.client",

python/pyspark/ml/tests/connect/test_connect_function.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
from pyspark.util import is_remote_only
2121
from pyspark.sql import SparkSession as PySparkSession
22-
from pyspark.sql.dataframe import DataFrame as SDF
22+
from pyspark.sql.classic.dataframe import DataFrame as SDF
2323
from pyspark.ml import functions as SF
2424
from pyspark.testing.sqlutils import SQLTestUtils
2525
from pyspark.testing.connectutils import (
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
"""Spark Classic specific"""

0 commit comments

Comments
 (0)