Shekharrajak opened a new issue, #66645:
URL: https://github.com/apache/doris/issues/66645

   
   Hi team,
   
   I am looking into guarantee where compute happening in region, result to FE, 
no raw data crosses borders and user should be able to see aggregated result. 
   Please let me know if we have some work/discussion already done like this : 
   
   ```
   Client
     │
     ▼
   FE Leader  ──── Parses SQL → generates Logical Plan → Physical Query Plan 
     │
     │  PQP = DAG of fragments, each assigned to specific BE/CN nodes
     │
     ├─► Fragment 1 (Scan + partial agg) ──► BE/CN-A  [data local]
     ├─► Fragment 2 (Scan + partial agg) ──► BE/CN-B  [data local]
     ├─► Fragment 3 (Scan + partial agg) ──► BE/CN-C  [data local]
     │         │              │              │
     │         └──────────────┴──────────────┘
     │              Exchange nodes (HASH / BROADCAST / UNPARTITIONED)
     │                         │
     └─► Final Fragment (merge agg, top-N, ORDER BY) ──► single BE or FE itself
                               │
                            Result Set ──► back to FE ──► Client
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to