开发者

Amazon Simple DB select from domain with period in name

开发者 https://www.devze.com 2023-03-18 14:18 出处:网络
In amazon simpleDB I am using the customer name as a bucket name template. buckname = com.mycompany.projectname.customerId as the开发者_Python百科 simpledb domain name.

In amazon simpleDB I am using the customer name as a bucket name template. buckname = com.mycompany.projectname.customerId as the开发者_Python百科 simpledb domain name.

The domain is created sucessfully, however, using the simpledb select API to do

select * from com.mycompany.projectname.customerId

I receive the 400 error:

AWS Error Code: InvalidQueryExpression, AWS Error Message: 
The specified query expression syntax is not valid.

Can this select statement be escaped somehow, or should we use an alternate domain naming strategy?


Enclose domain name between acute i.e (`). Try to run this query :

select * from `com.mycompany.projectname.customerId`
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号