-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for "where in" queries #327
Conversation
log.warn("Unexpected error in guess_chunk size") | ||
|
||
# stop iteration if we haven't increased the chunk size | ||
log.debug("stopping epandChunk iteration") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
epandChunk
-> expandChunk
if not where_elements: | ||
msg = "query: where key word with no elements" | ||
raise ValueError(msg) | ||
# convert to ndarray, checking than we can convert to our dtype along the way |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
than we can convert
-> that we can convert
if where_field: | ||
# return array based on where in elements | ||
log.debug("query - no eval_str, returning where in array") | ||
return chunk_arr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chunk_sel
seems to be the result of the selection from a where in
query - should that be returned here instead?
@@ -0,0 +1,4 @@ | |||
sphinx==5.0.0 | |||
sphinx_rtd_theme==1.0.0 | |||
readthedocs-sphinx-search==0.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version for readthedocs-sphinx-search
should be bumped to at least 0.3.2 to resolve the security issue
Request Authentication | ||
---------------------- | ||
|
||
The HSDS REST supports HTTP Basic authentication to authenticate users |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HSDS REST
-> HSDS REST API
within a password file. Alternatively, Bearer authentication can be used | ||
where a security token is issued by a provider such as Active Directory. | ||
In either case, once the request is authenticated a requestor username | ||
will be determine (unless anonymous request are supported, in which case |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
determine
-> determined
header) requests on the domain would be granted or denied as follows | ||
|
||
- GET /datasets/<id> - granted (returns HTTP Status 200 - OK) | ||
- POST /datasets/<id>/value - granted (returns HTTP Status 200 - OK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a clarification here that this operation is a point/hyperslab read
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I think this should be POST /datasets
if it's supposed to represent creation permissions
- GET /datasets/<id> - granted (returns HTTP Status 200 - OK) | ||
- POST /datasets/<id>/value - granted (returns HTTP Status 200 - OK) | ||
- PUT /datasets/<id>/shape) - grant (returns HTTP Status 200 - OK) | ||
- PUT /datasets/<id>/attributes/<name> - denied (returns HTTP Status |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PUT and DELETE here should be 'granted'
|
||
- GET /datasets/<id> - granted (returns HTTP Status 200 - OK) | ||
- POST /datasets/<id>/value - granted (returns HTTP Status 200 - OK) | ||
- PUT /datasets/<id>/shape) - grant (returns HTTP Status 200 - OK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grant
-> granted
|
||
- GET /datasets/<id> - granted (returns HTTP Status 200 - OK) | ||
- POST /datasets/<id>/value - granted (returns HTTP Status 200 - OK) | ||
- PUT /datasets/<id>/shape) - grant (returns HTTP Status 200 - OK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grant
-> granted
|
||
- GET /datasets/<id> - granted (returns HTTP Status 200 - OK) | ||
- POST /datasets/<id>/value - granted (returns HTTP Status 200 - OK) | ||
- PUT /datasets/<id>/shape) - grant (returns HTTP Status 200 - OK) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
grant
-> granted
Use Azure Front Door for SSL/https with HSDS on AKS | ||
|
||
With the instructions in *kubernetes_install_azure.md*, you can deploy | ||
hsds to Azure Kubernetes Service (AKS) and access it over http using the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hsds
-> HSDS
@@ -0,0 +1,219 @@ | |||
Bug Reports & Contributions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole doc still refers to h5py
@@ -0,0 +1,220 @@ | |||
.. _faq: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another h5py doc
@@ -0,0 +1,230 @@ | |||
Licenses and legal info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
h5py document
@@ -0,0 +1,35 @@ | |||
.. _quick: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
h5py doc
@@ -0,0 +1,107 @@ | |||
.. _related_projects: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
h5py doc
@@ -0,0 +1,44 @@ | |||
.. _release_guide: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
h5py doc
- name: Attribute | ||
description: Operations involving Attributes. | ||
- name: ACLS | ||
description: Operations involving Attributes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Attributes
-> Access Control Lists
@@ -0,0 +1,11 @@ | |||
.. _whatsnew: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
h5py doc
I messed this up - didn't me to include commits from different branches. Let me try to create a new PR... |
WIP review...