Skip to content

Commit

Permalink
overriudes
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Feb 5, 2025
1 parent 3c485fc commit 27ac62f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ray.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def df(rayc, tmpdir):
import ray.data

pd.DataFrame({"x": x, "y": y}).to_parquet(f"{tmpdir}/a.parquet")
return ray.data.read_parquet(f"{tmpdir}/a.parquet")
return ray.data.read_parquet(f"{tmpdir}/a.parquet", override_num_blocks=2)


def test_unary(df):
Expand Down
6 changes: 6 additions & 0 deletions tests/test_spark.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import os
import sys

import awkward as ak
import numpy as np
import pytest
Expand All @@ -16,6 +19,9 @@
def spark():
from pyspark.sql import SparkSession

os.environ["PYSPARK_PYTHON"] = sys.executable
os.environ["PYSPARK_DRIVER_PYTHON"] = sys.executable

return (
SparkSession.builder
# .config("spark.sql.execution.arrow.enabled", "true") # this was spark<3.0.0
Expand Down

0 comments on commit 27ac62f

Please sign in to comment.