Bug 2236462
| Summary: | [s3select][json]: wrong output seen for query "select _1.authors.name from s3object[*] limit 1" | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Hemanth Sai <hmaheswa> |
| Component: | RGW | Assignee: | gal salomon <gsalomon> |
| Status: | CLOSED ERRATA | QA Contact: | Hemanth Sai <hmaheswa> |
| Severity: | high | Docs Contact: | Rivka Pollack <rpollack> |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | akraj, ceph-eng-bugs, cephqe-warriors, gsalomon, mbenjamin, tserlin |
| Target Milestone: | --- | Flags: | gsalomon:
needinfo-
gsalomon: needinfo- |
| Target Release: | 7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-18.2.0-105.el9cp | Doc Type: | Bug Fix |
| Doc Text: |
JSON parsing now works for `select _1.authors.name from s3object[*] limit 1` query
Previously, an anonymous array given in the `select _1.authors.name from s3object[*] limit 1` would give the wrong value output.
With this fix, JSON parsing works, even if an anonymous array is provided to the query.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-12-13 15:22:33 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Hemanth Sai
2023-08-31 10:31:56 UTC
attached is the PR https://github.com/ceph/ceph/pull/53351 a change to s3select-engine state-machine. the change is for the use-cases where the JSON input starts with anonymous array/object This may cause a wrong identification of the key-name according to the user request(SQL statement) `An error occurred (s3select-Syntax-Error) when calling the SelectObjectContent operation: engine_version function not found` without getting the correct value there is no point in testing `18.2.0-102.el9cp` Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7780 |