You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "Kikyou1997 (via GitHub)" <gi...@apache.org> on 2023/06/15 12:08:36 UTC
[GitHub] [doris] Kikyou1997 opened a new pull request, #20865: [test](nereids) add test
Kikyou1997 opened a new pull request, #20865:
URL: https://github.com/apache/doris/pull/20865
## Proposed changes
Add regression test case for analyze
## Further comments
If this is a relatively large or complex change, kick off the discussion at [dev@doris.apache.org](mailto:dev@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] morrySnow merged pull request #20865: [test](nereids) Add regression test for stats analyze
Posted by "morrySnow (via GitHub)" <gi...@apache.org>.
morrySnow merged PR #20865:
URL: https://github.com/apache/doris/pull/20865
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #20865: [test](nereids) Add regression test for stats analyze
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20865:
URL: https://github.com/apache/doris/pull/20865#issuecomment-1594309586
PR approved by anyone and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] Kikyou1997 commented on pull request #20865: [test](nereids) add test
Posted by "Kikyou1997 (via GitHub)" <gi...@apache.org>.
Kikyou1997 commented on PR #20865:
URL: https://github.com/apache/doris/pull/20865#issuecomment-1592922871
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] englefly commented on a diff in pull request #20865: [test](nereids) Add regression test for stats analyze
Posted by "englefly (via GitHub)" <gi...@apache.org>.
englefly commented on code in PR #20865:
URL: https://github.com/apache/doris/pull/20865#discussion_r1231777519
##########
regression-test/suites/statistics/test_ddl.groovy:
##########
@@ -0,0 +1,80 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+suite("test_ddl") {
+ sql """
+ INSERT INTO `__internal_schema`.`column_statistics` VALUES ('10143--1-cd_credit_rating','0','10141','10143','-1','cd_credit_rating',NULL,1920800,4,0,'Good','Unknown',0,'2023-06-15 19:50:43'),('10143--1-cd_demo_sk-10142','0','10141','10143','-1','cd_demo_sk','10142',1920800,1916366,0,'1','1920800',0,'2023-06-15 19:50:42'),('10143--1-cd_dep_employed_count','0','10141','10143','-1','cd_dep_employed_count',NULL,1920800,7,0,'0','6',0,'2023-06-15 19:50:43'),('10143--1-cd_dep_employed_count-10142','0','10141','10143','-1','cd_dep_employed_count','10142',1920800,7,0,'0','6',0,'2023-06-15 19:50:42'),('10170--1-r_reason_desc','0','10141','10170','-1','r_reason_desc',NULL,35,34,0,'Did not fit','unauthoized purchase',0,'2023-06-15 19:51:00'),('10170--1-r_reason_sk','0','10141','10170','-1','r_reason_sk',NULL,35,35,0,'1','35',0,'2023-06-15 19:51:01'),('10175--1-d_dow','0','10141','10175','-1','d_dow',NULL,73049,7,0,'0','6',0,'2023-06-15 19:51:05'),('10175--1-d_dow-10174','0','10141','101
75','-1','d_dow','10174',73049,7,0,'0','6',0,'2023-06-15 19:51:05'),('10175--1-d_first_dom','0','10141','10175','-1','d_first_dom',NULL,73049,2410,0,'2415021','2488070',0,'2023-06-15 19:51:05'),('10175--1-d_fy_week_seq-10174','0','10141','10175','-1','d_fy_week_seq','10174',73049,10448,0,'1','10436',0,'2023-06-15 19:51:03'),('10175--1-d_fy_year-10174','0','10141','10175','-1','d_fy_year','10174',73049,202,0,'1900','2100',0,'2023-06-15 19:51:04'),('10175--1-d_qoy','0','10141','10175','-1','d_qoy',NULL,73049,4,0,'1','4',0,'2023-06-15 19:51:04'),('10175--1-d_qoy-10174','0','10141','10175','-1','d_qoy','10174',73049,4,0,'1','4',0,'2023-06-15 19:51:04'),('10175--1-d_same_day_lq','0','10141','10175','-1','d_same_day_lq',NULL,73049,72231,0,'2414930','2487978',0,'2023-06-15 19:51:04'),('10175--1-d_year','0','10141','10175','-1','d_year',NULL,73049,202,0,'1900','2100',0,'2023-06-15 19:51:05'),('10202--1-w_city-10201','0','10141','10202','-1','w_city','10201',5,1,0,'Fairview','Fairview',0,'20
23-06-15 19:50:42'),('10202--1-w_gmt_offset','0','10141','10202','-1','w_gmt_offset',NULL,5,1,1,'-5.00','-5.00',0,'2023-06-15 19:50:42'),('10202--1-w_state-10201','0','10141','10202','-1','w_state','10201',5,1,0,'TN','TN',0,'2023-06-15 19:50:41'),('10202--1-w_suite_number-10201','0','10141','10202','-1','w_suite_number','10201',5,5,0,'','Suite P',0,'2023-06-15 19:50:41'),('10202--1-w_warehouse_name','0','10141','10202','-1','w_warehouse_name',NULL,5,5,0,'','Important issues liv',0,'2023-06-15 19:50:42'),('10202--1-w_warehouse_sk-10201','0','10141','10202','-1','w_warehouse_sk','10201',5,5,0,'1','5',0,'2023-06-15 19:50:41'),('10207--1-cs_bill_hdemo_sk','0','10141','10207','-1','cs_bill_hdemo_sk',NULL,1441548,7251,7060,'1','7200',0,'2023-06-15 19:50:46'),('10207--1-cs_ext_tax','0','10141','10207','-1','cs_ext_tax',NULL,1441548,85061,7135,'0.00','2416.94',0,'2023-06-15 19:50:45'),('10207--1-cs_net_paid_inc_ship_tax','0','10141','10207','-1','cs_net_paid_inc_ship_tax',NULL,1441548,69533
2,0,'0.00','43335.20',0,'2023-06-15 19:50:46'),('10207--1-cs_net_paid_inc_tax','0','10141','10207','-1','cs_net_paid_inc_tax',NULL,1441548,540505,7127,'0.00','30261.56',0,'2023-06-15 19:50:44'),('10207--1-cs_order_number-10206','0','10141','10207','-1','cs_order_number','10206',1441548,161195,0,'1','160000',0,'2023-06-15 19:50:45'),('10207--1-cs_promo_sk-10206','0','10141','10207','-1','cs_promo_sk','10206',1441548,297,7234,'1','300',0,'2023-06-15 19:50:44'),('10207--1-cs_quantity-10206','0','10141','10207','-1','cs_quantity','10206',1441548,100,7091,'1','100',0,'2023-06-15 19:50:43'),('10207--1-cs_warehouse_sk','0','10141','10207','-1','cs_warehouse_sk',NULL,1441548,5,7146,'1','5',0,'2023-06-15 19:50:44'),('10275--1-cc_call_center_id','0','10141','10275','-1','cc_call_center_id',NULL,6,3,0,'AAAAAAAABAAAAAAA','AAAAAAAAEAAAAAAA',0,'2023-06-15 19:50:50'),('10275--1-cc_call_center_id-10274','0','10141','10275','-1','cc_call_center_id','10274',6,3,0,'AAAAAAAABAAAAAAA','AAAAAAAAEAAAAAAA'
,0,'2023-06-15 19:50:50'),('10275--1-cc_gmt_offset-10274','0','10141','10275','-1','cc_gmt_offset','10274',6,1,0,'-5.00','-5.00',0,'2023-06-15 19:50:51'),('10275--1-cc_hours','0','10141','10275','-1','cc_hours',NULL,6,2,0,'8AM-4PM','8AM-8AM',0,'2023-06-15 19:50:50'),('10275--1-cc_mkt_id','0','10141','10275','-1','cc_mkt_id',NULL,6,3,0,'2','6',0,'2023-06-15 19:50:51'),('10275--1-cc_rec_end_date','0','10141','10275','-1','cc_rec_end_date',NULL,6,3,3,'2000-01-01','2001-12-31',0,'2023-06-15 19:50:50')
Review Comment:
are the db id and table id stable?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] Kikyou1997 commented on pull request #20865: [test](nereids) add test
Posted by "Kikyou1997 (via GitHub)" <gi...@apache.org>.
Kikyou1997 commented on PR #20865:
URL: https://github.com/apache/doris/pull/20865#issuecomment-1593401485
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] Kikyou1997 commented on pull request #20865: [test](nereids) add test
Posted by "Kikyou1997 (via GitHub)" <gi...@apache.org>.
Kikyou1997 commented on PR #20865:
URL: https://github.com/apache/doris/pull/20865#issuecomment-1593997789
run buildall
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
[GitHub] [doris] github-actions[bot] commented on pull request #20865: [test](nereids) Add regression test for stats analyze
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #20865:
URL: https://github.com/apache/doris/pull/20865#issuecomment-1594309525
PR approved by at least one committer and no changes requested.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org