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

标签 model hive

我有一个 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/

相关文章:

ruby-on-rails - 我需要手动为我的外键字段添加索引还是 Rails 自动添加索引?

python - Django admin模型复数模式全局设置,不添加后缀 's'

php - MVC 困惑;梳理模型职责和架构

hadoop - apache 配置单元无法连接到 derby :metastore_db although ij from derby can

python - 有没有办法使用python脚本将特定的平面文件(.txt或.csv)提取到HDFS中

css - 鉴于我使用的是 Bootstrap ,如何连续显示三个图像?

sql - 配置单元-最早日期1年内选择行

hadoop - Oozie Hive 操作使用 -i init 脚本

hadoop - Cube.js 作为报告工具

java - 在整个 Spring Boot 运行时存储 JSON 数据