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

'insert ... select ' task is not running on the worker-write node #1649

Open
bright-zy opened this issue Apr 25, 2024 · 3 comments
Open

'insert ... select ' task is not running on the worker-write node #1649

bright-zy opened this issue Apr 25, 2024 · 3 comments
Labels
enhancement New feature or request P2 minor issue

Comments

@bright-zy
Copy link

(you don't have to strictly follow this form)

Bug Report

Briefly describe the bug

'insert ... select ' task is not running on the worker-write node

The result you expected

'insert ... select ' task is running on the worker-write node

How to Reproduce

Occurs when I perform the import below

INSERT OVERWRITE olap.olap_comm_deal_margin_agreement_indicator_di_cube_v37 SELECT shop_code,performance_city_code,city_code,agent_code,statistical_code,brand_code,is_core_30_city_yj_code,is_agent_city_code,battle_region_code,province_region_code,corp_code,marketing_code,area_code,shop_director_code,team_code,sub_brand_code,role_category_code,biz_type_code,dim_ref_employee_base_info_da_on_job_status_code,dim_ref_shop_brand_org_info_da_original_battle_region_code,dim_ref_shop_brand_org_info_da_original_province_region_code,dim_ref_shop_brand_org_info_da_original_performance_city_code,dim_ref_shop_brand_org_info_da_original_city_code,dim_ref_shop_brand_org_info_da_original_corp_code,dim_ref_shop_brand_org_info_da_original_region_code,dim_ref_shop_brand_org_info_da_original_marketing_code,dim_ref_shop_brand_org_info_da_original_area_code,dim_ref_shop_brand_org_info_da_original_shop_code,pt,stat_date,statistical_name,brand_name,is_core_30_city_yj_name,is_agent_city_name,is_has_lianjia,is_direct_sale,is_valid_agent,on_job_days_section,position_type,del_type_name,battle_region_abbr_name,province_region_abbr_name,performance_city_abbr_name,city_abbr_name,corp_name,marketing_name,area_name,shop_director_name,shop_name,team_name,agent_name,sub_brand_name,is_direct,role_category_name,is_effective,is_last_180d_linkshop,biz_type_name,corp_director_no,corp_director_name,marketing_director_no,marketing_director_name,area_director_no,area_director_name,dim_public_date_info_year,dim_public_date_info_month,dim_public_date_info_week,dim_public_date_info_sun_dt,dim_public_date_info_short_week_cn,dim_public_date_info_short_year_weeks,dim_ref_employee_base_info_da_is_link_agent,dim_ref_employee_base_info_da_job_level_seq_name,dim_ref_employee_base_info_da_agent_job_category_name,dim_ref_employee_base_info_da_on_job_status,dim_ref_shop_director_role_relation_da_is_link,dim_ref_shop_brand_org_info_da_original_battle_region_abbr_name,dim_ref_shop_brand_org_info_da_original_province_region_abbr_name,dim_ref_shop_brand_org_info_da_original_performance_city_abbr_name,dim_ref_shop_brand_org_info_da_original_city_abbr_name,dim_ref_shop_brand_org_info_da_original_corp_name,dim_ref_shop_brand_org_info_da_original_region_name,dim_ref_shop_brand_org_info_da_original_marketing_name,dim_ref_shop_brand_org_info_da_original_area_name,dim_ref_shop_brand_org_info_da_original_shop_name,dim_ref_city_base_info_da_city_level,dim_ref_city_base_info_da_is_bplus_city,original_team_code,original_team_name,original_agent_ucid,original_agent_name,dim_public_date_info_date,assess_income_amt_sum,same_shop_margin_assess_income_amt_sum,coop_agent_order_outer_rebate_amt_sum,receivable_assign_amt_sum,received_assign_amt_sum,sign_receivable_amt_sum,sign_receivable_pre_amt_sum,received_pre_amt_sum,valid_assess_income_amt_sum,person_create_amt_sum,s_person_create_amt_sum FROM load_temp.olap_olap_comm_deal_margin_agreement_indicator_di_cube_v37_850ad17938de4ae58906cdaca6cca05f SETTINGS max_execution_time = 3600;

Version

0.4.0

@bright-zy bright-zy added the bug Something isn't working label Apr 25, 2024
@smmsmm1988
Copy link
Collaborator

hi @bright-zy , sqls like 'insert ... select' currently can only be run in server node

@bright-zy
Copy link
Author

worker-write
hi @smmsmm1988 ,
I hope to support execution on worker-write nodes in the future. Thanks!

@smmsmm1988
Copy link
Collaborator

worker-write
hi @smmsmm1988 ,
I hope to support execution on worker-write nodes in the future. Thanks!

hi @bright-zy, thanks for your suggestion! It may be a big feature for ByConity, and we will take it into consideration in future versions.

@kevinthfang kevinthfang added enhancement New feature or request P2 minor issue and removed bug Something isn't working labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 minor issue
Projects
None yet
Development

No branches or pull requests

3 participants