You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.
While using the tool to retrieve items using the path I noticed that the sample sets are getting . characters substituted for / This means if I wanted to access an item via a path I cant seem to if it has period characters
What I Did
% dremio_client --config . catalog-item 'Samples/samples.dremio.com'
Traceback (most recent call last):
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/bin/dremio_client", line 8, in <module>
sys.exit(cli())
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/click/decorators.py", line 38, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/dremio_client/cli.py", line 191, in catalog_item
x = _catalog_item(token, base_url, cid, [i.replace(".", "/") for i in path] if path else None, ssl_verify=verify,)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/dremio_client/model/endpoints.py", line 111, in catalog_item
return _get(base_url + "/api/v3/catalog{}".format(endpoint), token, idpath, ssl_verify=ssl_verify)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/dremio_client/model/endpoints.py", line 46, in _get
return _check_error(r, details)
File "/Users/mc/Issues/NewYorkLifeIns/115277/dremio-env/lib/python3.10/site-packages/dremio_client/model/endpoints.py", line 89, in _check_error
raise DremioNotFoundException("No entity exists at " + details, error, r)
dremio_client.error.DremioNotFoundException: No entity exists at , Samples/samples/dremio/com: 404 Client Error: Not Found for url: http://172.25.1.66:9047/api/v3/catalog/by-path/Samples%2Fsamples%2Fdremio%2Fcom
I tried escaping and double quotes but that didnt seem to help
Conversely a regular URL with CURL will work ok so I know the API is ok
Description
While using the tool to retrieve items using the path I noticed that the sample sets are getting
.
characters substituted for/
This means if I wanted to access an item via a path I cant seem to if it has period charactersWhat I Did
I tried escaping and double quotes but that didnt seem to help
Conversely a regular URL with CURL will work ok so I know the API is ok
The text was updated successfully, but these errors were encountered: