You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2025/11/02 14:29:00 UTC
[jira] [Updated] (CALCITE-7261) DiffRepository generation xml doesn't respect alphabetical order
[ https://issues.apache.org/jira/browse/CALCITE-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-7261:
------------------------------------
Labels: pull-request-available (was: )
> DiffRepository generation xml doesn't respect alphabetical order
> ----------------------------------------------------------------
>
> Key: CALCITE-7261
> URL: https://issues.apache.org/jira/browse/CALCITE-7261
> Project: Calcite
> Issue Type: Bug
> Components: testkit
> Reporter: Sergey Nuyanzin
> Assignee: Sergey Nuyanzin
> Priority: Major
> Labels: pull-request-available
>
> Especially often reproduced for existing empty files.
> For instance current expected is empty or absent (might be a case if just want to regenerate from scratch)
> then if a class has methods
> {code:java}
> @Test void testDiff() {
> ...
> }
> @Test void testmulti() {
> ...
> }
> @Test void testNull() {
> ...
> }
> {code}
> Here {{testmulti}} was intentionally written in lowercase to highlight another issue. While generation it compares names with ignoring case. At the same side while sorting in {{DiffRepository}} it uses lexicographical order without ignoring of case.
> So as a result generated xml for the class with methods above might result in a variety of versions and not stable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)