You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Arina Ielchiieva (JIRA)" <ji...@apache.org> on 2019/04/01 09:59:05 UTC
[jira] [Assigned] (DRILL-7143) Enforce column-level constraints
when using a schema
[ https://issues.apache.org/jira/browse/DRILL-7143?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Arina Ielchiieva reassigned DRILL-7143:
---------------------------------------
Assignee: Paul Rogers (was: Arina Ielchiieva)
> Enforce column-level constraints when using a schema
> ----------------------------------------------------
>
> Key: DRILL-7143
> URL: https://issues.apache.org/jira/browse/DRILL-7143
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.16.0
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Major
> Fix For: 1.16.0
>
>
> The recently added schema framework enforces schema constraints at the table level. We now wish to add additional constraints at the column level.
> * If a column is marked as "strict", then the reader will use the exact type and mode from the column schema, or fail if it is not possible to do so.
> * If a column is marked as required, and provides a default value, then that value is used instead of 0 if a row is missing a value for that column.
> This PR may also contain other fixes the the base functional revealed through additional testing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)