Closed IIslam closed 1 week ago
@IIslam thanks for opening this issue, I see you are using V3 of the SDK, can you share what error you get when you run selectobjectcontent
operation.
Hi @ajredniwja I didn't get any errors but I get no data when I add the where clause
Hi @ajredniwja I'm waiting for your reply.
Hi @IIslam - apologies for the delayed response. I understand that the issue you're facing is related to the way the SQL expression is constructed for the select-object-content operation in Amazon S3. The SQL syntax used in this operation differs slightly from standard SQL.
If you're still encountering this problem, I'd be more than happy to provide further assistance and guidance. Please feel free to share any additional information or provide the specific SQL expression you're using, and I'll do my best to help you construct the correct syntax to achieve the desired behavior.
Best, John
This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.
Describe the bug
I'm trying to query some json content from s3 bucket it works fine when I
select *
from the bucket but once I specifyLIMIT
id do nothing returns whole data and when specifyWHERE
it returns empty response.data
[ { "id": 1, "name": "abcd", "dataIds": [ 2, 1, 2 ], "attributes": [ "name", "picUrl", "email", "linkedinUrl", "job" ] }, { "id": 2, "name": "zxy", "dataIds": [ 2, 1, 1 ] } ]
Expected Behavior
When the query is like
or even when specify limit like this
Current Behavior
returns empty file.
Reproduction Steps
DB.js
handler
Possible Solution
No response
Additional Information/Context
No response
SDK version used
"@aws-sdk/client-s3": "^3.110.0" aws-cli/2.7.3 Python/3.9.11 Windows/10 exe/AMD64 prompt/off
Environment details (OS name and version, etc.)
Windows 10