forked from apache/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KUDU-2645: schema: Validate that defaults are provided for virtual co…
…lumns Virtual columns must not be nullable and must have read defaults. Instead of crashing when we encounter violations of these requirements, return a bad status code when mapping such a projection onto a tablet schema. TODO(KUDU-2692): Consider removing the requirement to specify a read default on a virtual column by defining a built-in read default for each virtual column type, such as a default of false for IS_DELETED. Change-Id: I9144390f9ed02789a1ea161277b5f1567cfc2ffe Reviewed-on: http://gerrit.cloudera.org:8080/12416 Reviewed-by: Adar Dembo <[email protected]> Tested-by: Kudu Jenkins
- Loading branch information
Showing
3 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters