egor-ryashin commented on issue #14360:
URL: https://github.com/apache/druid/issues/14360#issuecomment-1798101800

   Hmm, I have almost the same query failing with that exception:
   ```sql
   with base as (
     SELECT 
       "pub", 
       min(total)/ max(price) as "rate" 
     FROM 
       "test_data" 
     GROUP BY 
       "pub"
   ), 
   comparison AS (
     SELECT 
       "pub", 
       min(total)/ max(price) as "rate" 
     FROM 
       "test_data" 
     GROUP BY 
       "pub"
   ), 
   output AS (
     SELECT 
       base."pub", 
       comparison."rate"
     FROM 
       base 
       left outer join comparison on base."pub" = comparison."pub"
   ) 
   select 
     * 
   from
     output
   ```


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