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

partiQL Support? #75

Open
mikewolfd opened this issue Dec 2, 2021 · 5 comments
Open

partiQL Support? #75

mikewolfd opened this issue Dec 2, 2021 · 5 comments

Comments

@mikewolfd
Copy link

Hello,

Does this package support running queries using the partiQL statement execution syntax? I'm trying to do it now but am running into UnknownOperationException errors.

@freshollie
Copy link
Owner

It could be that partiQL is generating a query which is not supported? For example transactions are not yet supported by dynalite, nor are streams.

@Jack-Barry
Copy link

@mikewolfd it's been a while since this was opened, but do you happen to remember if you were able to get around it?

I just hit this issue, not sure what would be incorrect about the PartiQL statement I'm trying to run as a dummy test...

const statement = {
  Statement: `SELECT * FROM "MyTableName" WHERE id='${someId}' AND typeId='${someTypeId}'`
};
await ddb.executeStatement(statement).promise();

The same type of select statement works just fine from the AWS console. I've tried every which way I can think of to change single vs. double quotes, no quotes, etc. but still get an UnknownOperationException when running the executeStatement in a test.

Just updated to latest [email protected] and [email protected]

@khoaleanhvn
Copy link

@Jack-Barry Did you find a way to work around? I'm at your situation now.

@Jack-Barry
Copy link

@khoaleanhvn I never did, ended up punting on using PartiQL, partly because of this issue

@ffleandro
Copy link

Same here, tested a very simple query directly using dynalite and seems like a problem in dynalite itself.

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

No branches or pull requests

5 participants