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
Is your idea related to a problem? Please describe.
Thanks for the great resource! It'd be great if the dynamodb.read_items method could be enhanced slightly to support changing the ScanIndexForward option on the DynamoDB query call.
Describe the solution you'd like
I'd suggest exposing a scan_index_forward boolean kwarg on the method and explicitly propagating that down into the boto3 call, but potentially you could expose boto3_additional_kwargs similar to the existing pyarrow_additional_kwargs to allow for arbitrary additional kwargs.
The text was updated successfully, but these errors were encountered:
Adding ScanIndexForward as an argument would be relatively simple. My concern here is that the dynamodb.read_items API is not specific to Query. It abstracts all of GetItem, Query and Scan operations. If we are to support every individual arguments, the API would quickly become overloaded. A dynamodb_kwargs argument would help but then it would require a complex logic to filter the right arguments for each underlying operation
Is your idea related to a problem? Please describe.
Thanks for the great resource! It'd be great if the
dynamodb.read_items
method could be enhanced slightly to support changing theScanIndexForward
option on the DynamoDB query call.https://aws-sdk-pandas.readthedocs.io/en/3.7.2/stubs/awswrangler.dynamodb.read_items.html
https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/dynamodb/client/query.html
Describe the solution you'd like
I'd suggest exposing a
scan_index_forward
boolean kwarg on the method and explicitly propagating that down into theboto3
call, but potentially you could exposeboto3_additional_kwargs
similar to the existingpyarrow_additional_kwargs
to allow for arbitrary additional kwargs.The text was updated successfully, but these errors were encountered: