[
https://issues.apache.org/jira/browse/IGNITE-24127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Orlov updated IGNITE-24127:
--------------------------------------
Component/s: sql
> interval_constants.test is locale-dependent
> -------------------------------------------
>
> Key: IGNITE-24127
> URL: https://issues.apache.org/jira/browse/IGNITE-24127
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Reporter: Roman Puchkovskiy
> Priority: Major
> Labels: ignite-3
>
> On my machine, it fails with
> java.lang.AssertionError: Not expected result at:
> (interval_constants.test:123). Statement: SELECT interval '99999999999999'
> years;. Expected: Interval field value 99,999,999,999,999 exceeds precision
> of YEAR(10) field
> Expected: a string containing "Interval field value 99,999,999,999,999
> exceeds precision of YEAR(10) field"
> but: was "Failed to validate query. From line 1, column 8 to line 1,
> column 38: Interval field value 99 999 999 999 999 exceeds precision of
> YEAR(10) field"
> But on the TC it passes.
> It could be caused by the difference between default locales at different
> machines (mine and TC).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)