Skip to content

Commit 3b4153b

Browse files
debug
1 parent fc44e5b commit 3b4153b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

python/python/lance/dataset.py

+2
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ def __init__(
170170
uri = os.fspath(uri) if isinstance(uri, Path) else uri
171171
self._uri = uri
172172
self._storage_options = storage_options
173+
print("init dataset")
174+
print(storage_options)
173175
self._ds = _Dataset(
174176
uri,
175177
version,

rust/lance-io/src/object_store.rs

+2
Original file line numberDiff line numberDiff line change
@@ -928,13 +928,15 @@ async fn configure_store(
928928
})
929929
}
930930
"gs" => {
931+
println!("in object_store.rs");
931932
storage_options.with_env_gcs();
932933
let mut builder = GoogleCloudStorageBuilder::new().with_url(url.as_ref());
933934
for (key, value) in storage_options.as_gcs_options() {
934935
builder = builder.with_config(key, value);
935936
}
936937
let token_key = "google_storage_token";
937938
if let Some(storage_token) = storage_options.get(token_key) {
939+
println!("isetting credential");
938940
let credential = GcpCredential { bearer: storage_token.to_string() };
939941
let credential_provider =
940942
Arc::new(StaticCredentialProvider::new(credential)) as _;

0 commit comments

Comments
 (0)