Skip to content

Commit

Permalink
[SW-2671] change GCS import test file (#2704)
Browse files Browse the repository at this point in the history
  • Loading branch information
krasinski committed Dec 29, 2021
1 parent 7c83a33 commit ba9dd5b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions py/tests/unit/with_runtime_sparkling/test_gcs_import.py
Expand Up @@ -18,7 +18,8 @@
import h2o

def testImportFromGCS(hc):
path = "gs://solutions-public-assets/time-series-master/GBPUSD_2014_01.csv"
frame = h2o.import_file(path=path)
some_public_gcp_file = "gs://gcp-public-data-landsat" \
"/LC08/01/001/009/LC08_L1GT_001009_20210612_20210622_01_T2/LC08_L1GT_001009_20210612_20210622_01_T2_MTL.txt"
frame = h2o.import_file(path=some_public_gcp_file)
df = hc.asSparkFrame(frame)
assert df.count() == 1280546
assert df.count() == 218

0 comments on commit ba9dd5b

Please sign in to comment.