fn-distinct-values different results from test
Bug #1090089 reported by
Juan Zacarias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Paul J. Lucas |
Bug Description
Test failing 2: cbcl-distinct-
Results have different values from expected.
Related branches
lp:~paul-lucas/zorba/bug-1090089
- Matthias Brantner: Approve
- Paul J. Lucas: Approve
-
Diff: 896 lines (+218/-189)34 files modifiedsrc/compiler/parser/symbol_table.cpp (+0/-2)
src/diagnostics/diagnostic_en.xml (+2/-2)
src/diagnostics/pregenerated/dict_en.cpp (+1/-1)
src/functions/func_sequences_impl.cpp (+5/-5)
src/types/casting.cpp (+54/-7)
src/zorbatypes/decimal.cpp (+71/-104)
src/zorbatypes/floatimpl.cpp (+34/-43)
src/zorbatypes/integer.cpp (+16/-18)
src/zorbatypes/integer.h (+11/-5)
test/fots/CMakeLists.txt (+0/-2)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-01.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-02.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-03.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-04.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-05.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-06.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-07.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-08.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-09.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-10.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-11.xml.res (+1/-0)
test/rbkt/ExpQueryResults/zorba/numerics/xs_float-12.xml.res (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-01.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-02.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-03.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-04.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-05.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-06.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-07.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-08.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-09.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-10.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-11.xq (+1/-0)
test/rbkt/Queries/zorba/numerics/xs_float-12.xq (+1/-0)
description: | updated |
description: | updated |
description: | updated |
Changed in zorba: | |
importance: | Undecided → High |
assignee: | nobody → Nicolae Brinza (nbrinza) |
milestone: | none → 2.9 |
summary: |
- FOTS: fn-distinc-values different results from test + fn-distinc-values different results from test |
tags: | added: fots |
summary: |
- fn-distinc-values different results from test + fn-distinct-values different results from test |
Changed in zorba: | |
milestone: | 2.9 → 3.0 |
assignee: | Nicolae Brinza (nbrinza) → Paul J. Lucas (paul-lucas) |
tags: | added: dates |
tags: | added: incorrect-result |
description: | updated |
Changed in zorba: | |
status: | New → Incomplete |
description: | updated |
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
Changed in zorba: | |
milestone: | 3.0 → 2.9 |
To post a comment you must log in.
Can somebody explain why there should only be one distinct value? One dateTime has a timezone and the other does not. According to XML Schema Part 2, section 3.2.7.4, bullets C and D, there is no way for two dateTimes (one with a timezone and the other without) to compare equal, hence they MUST be distinct.