You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that there is a type change: timestamp -> date in schema and inconsistent resultset field formats.
Moreover, both require inconsistent date format in WHERE clause:
WHEREt.dateAsDate>"2023-05-01T00:00:00Z"
vs
WHEREt.dateAsDate>"2023-05-01 00:00:00"
What is the expected behavior?
All queries return date type in schema and "2025-01-01 00:00:00.000" like format for both date fields as defined in mapping.
What is your host/environment?
2.6.0
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue! I think this is caused by inconsistency between our legacy engine and V2 engine. PartiQL feature in second query is not migrated to V2 yet. We're actively working on this and will update once it's available. Thanks!
parked-toes
changed the title
[BUG] Inconsistend behaviour for date field in nested collection queries
[BUG] Inconsistent behaviour for date field in nested collection queries
Apr 26, 2023
What is the bug?
When a query contains nested collection (self join) it returns different data and datatype, compared to a "simple" query.
How can one reproduce the bug?
Steps to reproduce the behavior:
Note that both date fields are mapped as
date
, projects isnested
Result:
Query the same date fields using nested collection query:
Note that there is a type change:
timestamp
->date
inschema
and inconsistent resultset field formats.Moreover, both require inconsistent date format in
WHERE
clause:vs
What is the expected behavior?
All queries return
date
type in schema and "2025-01-01 00:00:00.000" like format for both date fields as defined in mapping.What is your host/environment?
2.6.0
The text was updated successfully, but these errors were encountered: