apple/turicreate

trailing slash prevents sarray loading from s3

Open

#3,109 opened on Apr 9, 2020

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (1,161 forks)batch import
S3good first issue

Repository metrics

Stars
 (11,135 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

trailing slash will make sarray loading from s3 fail.

import turicreate as tc
tc.config.set_runtime_config("TURI_FILEIO_INSECURE_SSL_CERTIFICATE_CHECKS", 1)
gui = tc.SArray([1])

works with

gui = tc.load_sarray("s3://guihao/tiny_array")

but not with

gui = tc.load_sarray("s3://guihao/tiny_array/")

Surfaced by #3106

Contributor guide