Bug 2245575
| Summary: | [rgw][s3select]: wrong output seen for query "select trim(LEADING '1' from '111abcdef111') from s3object;" | ||
|---|---|---|---|
| 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, vereddy |
| Target Milestone: | --- | Flags: | gsalomon:
needinfo-
gsalomon: needinfo- |
| Target Release: | 7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-18.2.0-127.el9cp | Doc Type: | Bug Fix |
| Doc Text: |
.The `select trim (LEADING '1' from '111abcdef111') from s3object;` query now works when capitals are used in query
Previously, if `LEADING` or `TRAILING` were written in all capitals, the string would not properly read, causing a float type to be referred to as a string type, thus leading to a wrong output.
With this fix, type checking is introduced before completing the query, and `LEADING` and `TRAILING` work written either capitalized or in lower case.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-12-13 15:24:32 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-10-23 04:55:04 UTC
the issue is resolved in the following PR https://github.com/ceph/ceph/pull/54298 the issue is resolved in the following PR https://github.com/ceph/ceph/pull/54298 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 Rivka, this BZ describes the fix for syntax-issue that causes a wrong output (trim operator). (type checking is a different issue) |