gpt4 book ai didi

model - 在HIVE中我们如何在建表语句中定义Not NULL列?

转载 作者:行者123 更新时间:2023-12-05 07:43:00 26 4
gpt4 key购买 nike

我有一个 RDBMS 表,我想将其转换为 HIVE create table 语句。在 DDL 中,很少有 Not Null 列。我们如何在 HIVE 中将列定义为 Not Null 列?

最佳答案

还没有实现

1
当前状态:补丁可用

2

As with PK and FK constraints, currently we do not enforce them; thus, the constraints need to use the DISABLE option, but they will be stored and can be enabled for rewriting/optimization using RELY.

https://issues.apache.org/jira/browse/HIVE-16575

关于model - 在HIVE中我们如何在建表语句中定义Not NULL列?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43994115/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com