Skip to content
New issue

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

不支持ODPS多路输出解析 #1605

Closed
zillionbrains opened this issue Feb 13, 2017 · 3 comments
Closed

不支持ODPS多路输出解析 #1605

zillionbrains opened this issue Feb 13, 2017 · 3 comments
Milestone

Comments

@zillionbrains
Copy link

from sale_detail
insert overwrite table sale_detail_multi partition (sale_date='2010', region='china' )
select shop_name, customer_id, total_price
insert overwrite table sale_detail_multi partition (sale_date='2011', region='china' )
select shop_name, customer_id, total_price;

@wenshao
Copy link
Member

wenshao commented Feb 13, 2017

应该支持的啊,你用的是druid什么版本?

@zillionbrains
Copy link
Author

1.0.27,是后面支持的吗?

@wenshao
Copy link
Member

wenshao commented Feb 14, 2017

如下的写法现在是支持的:

from (select * from sale_detail) as sale_detail
insert overwrite table sale_detail_multi partition (sale_date='2010', region='china' )
select shop_name, customer_id, total_price
insert overwrite table sale_detail_multi partition (sale_date='2011', region='china' )
select shop_name, customer_id, total_price;

后续会支持你上面的写法

@wenshao wenshao added this to the 1.0.29 milestone Feb 14, 2017
@wenshao wenshao closed this as completed Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants