You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "zzcclp (via GitHub)" <gi...@apache.org> on 2024/07/09 07:21:14 UTC

[PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

zzcclp opened a new pull request, #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379

   ## What changes were proposed in this pull request?
   [CH] Support delta count optimizer for the MergeTree format:
   
   In Delta, it will use the rule PrepareDeltaScan to optimize the count command, which will directly use the delta meta to response the sql select count(*) from table, now support this optimizer for the MergeTree format.
   
   Close #6378.
   (Fixes: #6378)
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
   
   
   (If this patch involves UI changes, please attach a screenshot; otherwise, remove this)
   
   


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2216797466

   https://github.com/apache/incubator-gluten/issues/6378


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2217705727

   Run Gluten Clickhouse CI


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2217295761

   Run Gluten Clickhouse CI


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2217133390

   Run Gluten Clickhouse CI


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "baibaichen (via GitHub)" <gi...@apache.org>.
baibaichen merged PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "GlutenPerfBot (via GitHub)" <gi...@apache.org>.
GlutenPerfBot commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2218305909

   ===== Performance report for TPCH SF2000 with Velox backend, for reference only ====
   <table border="1" cellpadding="0" cellspacing="0">
                   <tbody>
                       <tr>
                               <td><font color=#000000>query</font></td>
                               <td><font color=#000000>log/native_master_07_09_2024_time.csv</font></td>
                               <td><font color=#000000>log/native_master_07_08_2024_97d0f18c1_time.csv</font></td>
                               <td><font color=#000000>difference</font></td>
                               <td><font color=#000000>percentage</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q1</font></td>
                               <td><font color=#6F9915>36.53</font></td>
                               <td><font color=#6F9915>34.69</font></td>
                               <td><font color=#6F9915>-1.838</font></td>
                               <td><font color=#6F9915>94.97%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q2</font></td>
                               <td><font color=#F92663>22.47</font></td>
                               <td><font color=#F92663>23.85</font></td>
                               <td><font color=#F92663>1.372</font></td>
                               <td><font color=#F92663>106.10%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q3</font></td>
                               <td><font color=#6F9915>38.91</font></td>
                               <td><font color=#6F9915>38.33</font></td>
                               <td><font color=#6F9915>-0.581</font></td>
                               <td><font color=#6F9915>98.51%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q4</font></td>
                               <td><font color=#F92663>31.14</font></td>
                               <td><font color=#F92663>31.32</font></td>
                               <td><font color=#F92663>0.182</font></td>
                               <td><font color=#F92663>100.58%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q5</font></td>
                               <td><font color=#6F9915>70.60</font></td>
                               <td><font color=#6F9915>68.03</font></td>
                               <td><font color=#6F9915>-2.575</font></td>
                               <td><font color=#6F9915>96.35%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q6</font></td>
                               <td><font color=#F92663>7.61</font></td>
                               <td><font color=#F92663>7.70</font></td>
                               <td><font color=#F92663>0.088</font></td>
                               <td><font color=#F92663>101.16%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q7</font></td>
                               <td><font color=#6F9915>86.01</font></td>
                               <td><font color=#6F9915>80.37</font></td>
                               <td><font color=#6F9915>-5.643</font></td>
                               <td><font color=#6F9915>93.44%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q8</font></td>
                               <td><font color=#6F9915>85.73</font></td>
                               <td><font color=#6F9915>84.50</font></td>
                               <td><font color=#6F9915>-1.230</font></td>
                               <td><font color=#6F9915>98.57%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q9</font></td>
                               <td><font color=#F92663>122.14</font></td>
                               <td><font color=#F92663>124.34</font></td>
                               <td><font color=#F92663>2.196</font></td>
                               <td><font color=#F92663>101.80%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q10</font></td>
                               <td><font color=#F92663>46.37</font></td>
                               <td><font color=#F92663>48.36</font></td>
                               <td><font color=#F92663>1.998</font></td>
                               <td><font color=#F92663>104.31%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q11</font></td>
                               <td><font color=#6F9915>20.27</font></td>
                               <td><font color=#6F9915>20.16</font></td>
                               <td><font color=#6F9915>-0.106</font></td>
                               <td><font color=#6F9915>99.48%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q12</font></td>
                               <td><font color=#F92663>23.99</font></td>
                               <td><font color=#F92663>28.04</font></td>
                               <td><font color=#F92663>4.052</font></td>
                               <td><font color=#F92663>116.89%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q13</font></td>
                               <td><font color=#6F9915>38.82</font></td>
                               <td><font color=#6F9915>37.95</font></td>
                               <td><font color=#6F9915>-0.863</font></td>
                               <td><font color=#6F9915>97.78%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q14</font></td>
                               <td><font color=#F92663>17.56</font></td>
                               <td><font color=#F92663>20.41</font></td>
                               <td><font color=#F92663>2.847</font></td>
                               <td><font color=#F92663>116.21%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q15</font></td>
                               <td><font color=#6F9915>33.88</font></td>
                               <td><font color=#6F9915>29.61</font></td>
                               <td><font color=#6F9915>-4.270</font></td>
                               <td><font color=#6F9915>87.40%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q16</font></td>
                               <td><font color=#F92663>14.18</font></td>
                               <td><font color=#F92663>14.78</font></td>
                               <td><font color=#F92663>0.598</font></td>
                               <td><font color=#F92663>104.22%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q17</font></td>
                               <td><font color=#6F9915>102.32</font></td>
                               <td><font color=#6F9915>101.16</font></td>
                               <td><font color=#6F9915>-1.161</font></td>
                               <td><font color=#6F9915>98.87%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q18</font></td>
                               <td><font color=#6F9915>149.22</font></td>
                               <td><font color=#6F9915>147.36</font></td>
                               <td><font color=#6F9915>-1.859</font></td>
                               <td><font color=#6F9915>98.75%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q19</font></td>
                               <td><font color=#F92663>13.77</font></td>
                               <td><font color=#F92663>13.95</font></td>
                               <td><font color=#F92663>0.182</font></td>
                               <td><font color=#F92663>101.32%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#F92663>q20</font></td>
                               <td><font color=#F92663>26.63</font></td>
                               <td><font color=#F92663>30.49</font></td>
                               <td><font color=#F92663>3.860</font></td>
                               <td><font color=#F92663>114.49%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q21</font></td>
                               <td><font color=#6F9915>265.27</font></td>
                               <td><font color=#6F9915>263.82</font></td>
                               <td><font color=#6F9915>-1.451</font></td>
                               <td><font color=#6F9915>99.45%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>q22</font></td>
                               <td><font color=#6F9915>13.09</font></td>
                               <td><font color=#6F9915>12.64</font></td>
                               <td><font color=#6F9915>-0.441</font></td>
                               <td><font color=#6F9915>96.63%</font></td>
                       </tr>
                       <tr>
                               <td><font color=#6F9915>total</font></td>
                               <td><font color=#6F9915>1266.51</font></td>
                               <td><font color=#6F9915>1261.86</font></td>
                               <td><font color=#6F9915>-4.643</font></td>
                               <td><font color=#6F9915>99.63%</font></td>
                       </tr>
                   </tbody>
               </table>


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [PR] [GLUTEN-6378][CH] Support delta count optimizer for the MergeTree format [incubator-gluten]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #6379:
URL: https://github.com/apache/incubator-gluten/pull/6379#issuecomment-2216798013

   Run Gluten Clickhouse CI


-- 
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@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org