Skip to content
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

Connector for DynamoDB #302

Open
vscharfkatz opened this issue Dec 5, 2017 · 4 comments
Open

Connector for DynamoDB #302

vscharfkatz opened this issue Dec 5, 2017 · 4 comments

Comments

@vscharfkatz
Copy link

DynamoDB is a widely use NoSQL environment where data is stored. We suggest to build a connector allowing to connect Plotly to DynamoDB

@n-riesco
Copy link
Contributor

n-riesco commented Dec 13, 2017

We are already using https://www.npmjs.com/package/aws-sdk to implement the S3 connector, and aws-sdk supports DynamoDB. So this is definitely doable.

I'm going to label this one as community and good first issue.

Some useful links:

@n-riesco n-riesco mentioned this issue Jan 19, 2018
10 tasks
@n-riesco
Copy link
Contributor

From slack:

@shannonlal When you have 2 minutes can you have a look at this DynamoDB library (https://www.npmjs.com/package/@awspilot/dynamodb-sql). Seems like a DynamoDB SQL library. If I could just use this library I could probably throw together something for DynamoDB.

I had a quick look at dynamodb-sql. It looks OK. I've only noticed 2 difficulties:

  1. the implementation of SHOW TABLES doesn't account for databases with 100+ tables (we'd have to contribute a PR; see https://github.com/awspilot/dynamodb-sql/blob/b6270798f74e480721b0a06d169006017e591c85/lib/dynamodb.js#L31-L38)

  2. to implements schemas(), we'd have to make multiple queries: first to request the list of tables (listTables), and then, for each table, a query to describe the table ('describeTable').

@n-riesco
Copy link
Contributor

:( Maybe, I'm misreading this, but it looks like dynamo-sql doesn't account for queries that return large responses and require pagination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants