Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] spark 3.1.0 udf_cudf_test fail without specifying --cudf-udf option #922

Closed
tgravescs opened this issue Oct 9, 2020 · 0 comments · Fixed by #926
Closed

[BUG] spark 3.1.0 udf_cudf_test fail without specifying --cudf-udf option #922

tgravescs opened this issue Oct 9, 2020 · 0 comments · Fixed by #926
Labels
test Only impacts tests

Comments

@tgravescs
Copy link
Collaborator

Describe the bug
Looks like the tests still runs the @pandas_udf code even though we say skip the file.

==================================== ERRORS ====================================
______________ ERROR collecting src/main/python/udf_cudf_test.py _______________
ImportError while importing test module '/home/tgraves/workspace/spark-rapids-another/integration_tests/src/main/python/udf_cudf_test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
src/main/python/udf_cudf_test.py:76: in
@pandas_udf('int')
/home/tgraves/runspace/spark310/spark-3.1.0-SNAPSHOT-bin-hadoop3.2/python/lib/pyspark.zip/pyspark/sql/pandas/functions.py:324: in pandas_udf
require_minimum_pyarrow_version()
/home/tgraves/runspace/spark310/spark-3.1.0-SNAPSHOT-bin-hadoop3.2/python/lib/pyspark.zip/pyspark/sql/pandas/utils.py:57: in require_minimum_pyarrow_version
"your version was %s." % (minimum_pyarrow_version, pyarrow.version))
E ImportError: PyArrow >= 1.0.0 must be installed; however, your version was 0.15.1.

reproduce using spark 3.1.0 and just:

$SPARK_HOME/bin/spark-submit --master local --jars cudf-0.16-SNAPSHOT-cuda10-1.jar,rapids-4-spark_2.12-0.3.0-SNAPSHOT.jar --conf spark.driver.extraJavaOptions=-Duser.timezone=GMT --conf spark.sql.session.timeZone=UTC --conf spark.executor.extraJavaOptions=-Duser.timezone=GMT runtests.py

@tgravescs tgravescs added bug Something isn't working ? - Needs Triage Need team to review and classify labels Oct 9, 2020
@tgravescs tgravescs added this to the Oct 12 - Oct 23 milestone Oct 13, 2020
@tgravescs tgravescs added test Only impacts tests and removed ? - Needs Triage Need team to review and classify bug Something isn't working labels Oct 13, 2020
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this issue Nov 30, 2023
…IDIA#922)

Signed-off-by: spark-rapids automation <70000568+nvauto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant