Skip to content

Commit

Permalink
Adding extra test for implicit cast with bucket with credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
torcato committed Aug 7, 2024
1 parent f7c98b8 commit f2765f1
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,11 @@ import raw.testing.tags.TruffleTests
|in
| Collection.Count(data)
|""".stripMargin)(it => it should evaluateTo("7"))

// Using the automatic casting from url to S3Location using credentials
test(s"""let
| data = Csv.InferAndRead("s3://$UnitTestPrivateBucket/students.csv")
|in
| Collection.Count(data)
|""".stripMargin)(it => it should evaluateTo("7"))
}

0 comments on commit f2765f1

Please sign in to comment.