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
{{ message }}
This repository has been archived by the owner on May 3, 2021. It is now read-only.
The tests demonstrate selection of a compile-time known shape (eg (i32, String) from a source unknown at compile-time.
However in a more dynamic scenario, the shape of the selection we want to make is unknown at compile-time but computable at runtime.
eg. A user is able to define customer columns for an entity. DDL is executed to adjust the table and customer column metadata is stored. Now efficient queries can be built against that table for which the number and order of columns is only known at runtime.
Naturally this is NOT what you want to do for a schema general-case, but is a common requirement for many systems - eg almost all CRM systems, HR systems, issue-tracking solutions such as JIRA and others.
Perhaps it should be possible to select into per-row hashmaps of column/value pairs where the value is an enum with database-type variants and database NULLs are omitted from the map.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The tests demonstrate selection of a compile-time known shape (eg (i32, String) from a source unknown at compile-time.
However in a more dynamic scenario, the shape of the selection we want to make is unknown at compile-time but computable at runtime.
eg. A user is able to define customer columns for an entity. DDL is executed to adjust the table and customer column metadata is stored. Now efficient queries can be built against that table for which the number and order of columns is only known at runtime.
Naturally this is NOT what you want to do for a schema general-case, but is a common requirement for many systems - eg almost all CRM systems, HR systems, issue-tracking solutions such as JIRA and others.
Perhaps it should be possible to select into per-row hashmaps of column/value pairs where the value is an enum with database-type variants and database NULLs are omitted from the map.
The text was updated successfully, but these errors were encountered: