forked from apache/spark
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
373 changed files
with
8,430 additions
and
3,498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -264,20 +264,20 @@ jobs: | |
with: | ||
distribution: zulu | ||
java-version: ${{ matrix.java }} | ||
- name: Install Python 3.9 | ||
- name: Install Python 3.11 | ||
uses: actions/setup-python@v5 | ||
# We should install one Python that is higher than 3+ for SQL and Yarn because: | ||
# - SQL component also has Python related tests, for example, IntegratedUDFTestUtils. | ||
# - Yarn has a Python specific test too, for example, YarnClusterSuite. | ||
if: contains(matrix.modules, 'yarn') || (contains(matrix.modules, 'sql') && !contains(matrix.modules, 'sql-')) || contains(matrix.modules, 'connect') | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.11' | ||
architecture: x64 | ||
- name: Install Python packages (Python 3.9) | ||
- name: Install Python packages (Python 3.11) | ||
if: (contains(matrix.modules, 'sql') && !contains(matrix.modules, 'sql-')) || contains(matrix.modules, 'connect') | ||
run: | | ||
python3.9 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy unittest-xml-reporting 'lxml==4.9.4' 'grpcio==1.62.0' 'grpcio-status==1.62.0' 'protobuf==4.25.1' | ||
python3.9 -m pip list | ||
python3.11 -m pip install 'numpy>=1.20.0' pyarrow pandas scipy unittest-xml-reporting 'lxml==4.9.4' 'grpcio==1.62.0' 'grpcio-status==1.62.0' 'protobuf==4.25.1' | ||
python3.11 -m pip list | ||
# Run the tests. | ||
- name: Run tests | ||
env: ${{ fromJSON(inputs.envs) }} | ||
|
@@ -608,14 +608,14 @@ jobs: | |
with: | ||
input: sql/connect/common/src/main | ||
against: 'https://github.com/apache/spark.git#branch=branch-3.5,subdir=connector/connect/common/src/main' | ||
- name: Install Python 3.9 | ||
- name: Install Python 3.11 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
python-version: '3.11' | ||
- name: Install dependencies for Python CodeGen check | ||
run: | | ||
python3.9 -m pip install 'black==23.9.1' 'protobuf==4.25.1' 'mypy==1.8.0' 'mypy-protobuf==3.3.0' | ||
python3.9 -m pip list | ||
python3.11 -m pip install 'black==23.9.1' 'protobuf==4.25.1' 'mypy==1.8.0' 'mypy-protobuf==3.3.0' | ||
python3.11 -m pip list | ||
- name: Python CodeGen check | ||
run: ./dev/connect-check-protos.py | ||
|
||
|
@@ -1112,6 +1112,10 @@ jobs: | |
with: | ||
distribution: zulu | ||
java-version: ${{ inputs.java }} | ||
- name: Install R | ||
run: | | ||
sudo apt update | ||
sudo apt-get install r-base | ||
- name: Start Minikube | ||
uses: medyagh/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# | ||
# Licensed to the Apache Software Foundation (ASF) under one or more | ||
# contributor license agreements. See the NOTICE file distributed with | ||
# this work for additional information regarding copyright ownership. | ||
# The ASF licenses this file to You under the Apache License, Version 2.0 | ||
# (the "License"); you may not use this file except in compliance with | ||
# the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# zzz.R - package startup message | ||
|
||
.onAttach <- function(...) { | ||
if (Sys.getenv("SPARKR_SUPPRESS_DEPRECATION_WARNING") == "") { | ||
packageStartupMessage( | ||
paste0( | ||
"Warning: ", | ||
"SparkR is deprecated in Apache Spark 4.0.0 and will be removed in a future release. ", | ||
"To continue using Spark in R, we recommend using sparklyr instead: ", | ||
"https://spark.posit.co/get-started/" | ||
) | ||
) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.