cecemei commented on code in PR #18403:
URL: https://github.com/apache/druid/pull/18403#discussion_r2335316957


##########
processing/src/main/java/org/apache/druid/data/input/impl/AggregateProjectionSpec.java:
##########
@@ -218,10 +223,9 @@ private static ProjectionOrdering 
computeOrdering(VirtualColumns virtualColumns,
 
     String timeColumnName = null;
     Granularity granularity = null;
-    // try to find the __time column equivalent, which might be a time_floor 
expression to model granularity
-    // bucketing. The time column is decided as the finest granularity on 
__time detected. If the projection does
-    // not have a time-like column, the granularity will be handled as ALL for 
the projection and all projection
-    // rows will use a synthetic timestamp of the minimum timestamp of the 
incremental index
+
+    // determine the granularity and time column name for the projection, 
based on the first time-like grouping column.
+    // if there are multiple time-like grouping columns, they must be 
"coarser" than the first time-like grouping column.

Review Comment:
   actually the compatible is `PT6H`. i realized projection need to find coarse 
ones as compatible



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