FrankChen021 commented on issue #11929:
URL: https://github.com/apache/druid/issues/11929#issuecomment-1026964274


   > INSERT INTO table
   SELECT ...
   PARTITION BY DAY, client, region ORDER BY order_id, line_item
   
   IMO, this confuses users. The biggest question is why not put the `order_id` 
and `line_item` in the `PARTITION BY` clause? or why not put the `client` and 
`region` in `ORDER BY` clause?
   
   So, separation of partitioning and secondary partitioning is semantically 
clear. Some other DBMS like ClickHouse also prefer the separated way.


-- 
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