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

Fixed the table aws_s3_object - hydrate function listS3Objects failed with panic Closes #2218 #2221

Merged
merged 3 commits into from
Jun 27, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Jun 24, 2024

Integration test logs

Logs
N/A

Example query results

Results
> SELECT key, bucket_name, region
FROM   aws_s3_object
WHERE  bucket_name = 'test-delete90'
+-----------------------+---------------+-----------+
| key                   | bucket_name   | region    |
+-----------------------+---------------+-----------+
| test1/template.txt    | test-delete90 | us-east-2 |
| AWSLogs/632902152528/ | test-delete90 | us-east-2 |
| test1/                | test-delete90 | us-east-2 |
+-----------------------+---------------+-----------+

Time: 0.5s. Rows returned: 3. Rows fetched: 3. Hydrate calls: 3.

> select * from aws_s3_object where bucket_name = 'test-delete90'
+-----------------------+--------------------------------------------------+---------------+---------------------------+---------------+----------------------------------+---------------+--------------------+--------------------+---------------+----------------+------->
| key                   | arn                                              | bucket_name   | last_modified             | storage_class | version_id                       | accept_ranges | body               | bucket_key_enabled | cache_control | checksum_crc32 | checks>
+-----------------------+--------------------------------------------------+---------------+---------------------------+---------------+----------------------------------+---------------+--------------------+--------------------+---------------+----------------+------->
| AWSLogs/xxxxxxxxxxxx/ | arn:aws:s3:::test-delete90/AWSLogs/xxxxxxxxxxxx/ | test-delete90 | 2024-03-11T22:18:53+05:30 | STANDARD      | JQ2gZcH2CyiV7c36H9457vIZr1Be64lx | bytes         |                    | <null>             | <null>        | <null>         | <null>>
| test1/                | arn:aws:s3:::test-delete90/test1/                | test-delete90 | 2022-10-18T11:27:00+05:30 | STANDARD      | null                             | bytes         |                    | <null>             | <null>        | <null>         | <null>>
| test1/template.txt    | arn:aws:s3:::test-delete90/test1/template.txt    | test-delete90 | 2023-12-21T17:42:16+05:30 | STANDARD      | .5wzvZjKelnbRLZZBadtraZ5BeUtK5gb | bytes         |  Hi, I am here.... | <null>             | <null>        | <null>         | <null>>

@ParthaI ParthaI requested a review from misraved June 24, 2024 11:28
@ParthaI ParthaI self-assigned this Jun 24, 2024
@ParthaI ParthaI linked an issue Jun 24, 2024 that may be closed by this pull request
@misraved misraved merged commit 542d3e1 into main Jun 27, 2024
1 check passed
@misraved misraved deleted the issue-2218 branch June 27, 2024 12:16
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

Successfully merging this pull request may close these issues.

aws_s3_object - hydrate function listS3Objects failed
2 participants