We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.1.0-preview2
1、1.0.0版本创建表时,使用更新模型UNIQUE KEY的key类型为String是可以创建成功的,升级到1.1.0-preview2后,提示如下错误:
UNIQUE KEY更新模型可以使用字符串作为索引列
CREATE TABLE test02( product_def_no String COMMENT '产品定义号', id varchar(100) COMMENT '物理主键', cust_source varchar(100) COMMENT '客户渠道', cust_seg String COMMENT '客户风险等级', pday String ) UNIQUE KEY(product_def_no,id,cust_source) DISTRIBUTED BY HASH(product_def_no) BUCKETS 1 properties( "replication_allocation"="tag.location.group_import:1, tag.location.group_normal_read:2" )
test02
product_def_no
id
cust_source
cust_seg
pday
No response
The text was updated successfully, but these errors were encountered:
product_def_no String类型 修改为varchar(100)可以解决
Sorry, something went wrong.
No branches or pull requests
Search before asking
Version
1.1.0-preview2
What's Wrong?
1、1.0.0版本创建表时,使用更新模型UNIQUE KEY的key类型为String是可以创建成功的,升级到1.1.0-preview2后,提示如下错误:
What You Expected?
UNIQUE KEY更新模型可以使用字符串作为索引列
How to Reproduce?
CREATE TABLE
test02
(product_def_no
String COMMENT '产品定义号',id
varchar(100) COMMENT '物理主键',cust_source
varchar(100) COMMENT '客户渠道',cust_seg
String COMMENT '客户风险等级',pday
String)
UNIQUE KEY(product_def_no,id,cust_source)
DISTRIBUTED BY HASH(product_def_no) BUCKETS 1
properties(
"replication_allocation"="tag.location.group_import:1, tag.location.group_normal_read:2"
)
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: