oradate values before year one format as implausible modern dates (e.g. 1 BC Jan 15 renders as 2026-01-15)
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 48/100
Rechercherichtung
Start by tracing the oradate_out and timestamp_to_char paths mentioned in the issue, then compare their handling of internal year 0 with plain timestamp formatting. Check the Oracle compatible NLS format behavior and the reported oradate input failure. Done when pre-year-one oradate values render with the expected year and month, with regression coverage for the reproduction.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Environment
IvorySQL 5.6 (official deb) + ivorysql_ora built from master (2c5e8dd), ivorysql.compatible_mode = oracle
Reproduction
SELECT to_char(timestamp '0001-01-15 BC', 'SYYYY-MM-DD'); -- -0001-01-15 (plain timestamp: correct)
SELECT to_char(add_months(oradate '2024-01-15', -24288), 'SYYYY-MM-DD');
-- 2026-01-15 (should be -0001-01-15: the month arithmetic yields internal year 0 = 1 BC)
add_months reaching internal year 0 (1 BC) is verifiable by ordering: the result compares greater than 2 BC Dec 15 and less than 1 BC Feb 15 as expected, so the internal value is right — only the rendering via the oradate path is wrong (plain timestamp rendering of the same value is fine). Displayed garbage varies by one month when stepping across the boundary (e.g. internal 2 BC Dec 15 renders as 2025-12-15), i.e. the year appears to be taken from a different representation stage.
Scope
Rendering/conversion of pre-year-one values through oradate_out/timestamp_to_char with NLS formats (and possibly the oradate input side — oradate '0001-01-15 bc' fails to parse with the default NLS picture while plain timestamp input parses). Worth a focused investigation; surfaced while testing #2955's fix.
- Vorherrschende Sprache
- C
- Sterne
- 1.1k
- Forks
- 232
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 7
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus IvorySQL/IvorySQL
-
PostgreSQL::Version rejects documented full psql version outputEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
Maintainer antworten meist innerhalb von 1 Tag
-
UTL_FILE.NEW_LINE silently ignores negative line countsEvtl. vergeben @X-LightYear hat das vor 8 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
IvorySQL/IvorySQL#2634 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Character function regression assumes normal identifier case on default interchange clustersEvtl. vergeben @zhouxj52 hat das vor 15 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
IvorySQL/IvorySQL#2470 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
xml2 no-libxslt expected files do not match PG/Oracle input scriptsEvtl. vergeben @zhouxj52 hat das vor 15 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
IvorySQL/IvorySQL#2468 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Title: Build failure in DBMS_SCHEDULER due to incorrect placement of pg_noreturnEvtl. vergeben @darshan-s-44 hat das vor 22 Tagen übernommen. Offenbug good first issue
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in IvorySQL/IvorySQL
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
FujiNetWIFI/fujinet-firmware#2261 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/infrared type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
DarkFlippers/unleashed-firmware#1201 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
pocoproject/poco#5626 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 78/100
VMAFx/vmafx#3260 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
FujiNetWIFI/fujinet-lib#272 ·
Maintainer antworten meist innerhalb von 1 Tag