vogievetsky commented on issue #11929: URL: https://github.com/apache/druid/issues/11929#issuecomment-1090610647
I think a WHERE-like semantic with a different (and mandatory) keyword is cool. One that would work could be `OVERRIDING` The 3 queries from your example would be: ``` REPLACE dst OVERRIDING ALL DATA SELECT * FROM src WHERE __time >= TIMESTAMP '2000-01-01 00:00:00' AND __time < TIMESTAMP '2000-01-02 00:00:00' ``` ``` REPLACE dst OVERRIDING __time >= TIMESTAMP '2000-01-01 00:00:00' AND __time < TIMESTAMP '2000-01-02 00:00:00' SELECT * FROM src ``` ``` REPLACE dst OVERRIDING __time >= TIMESTAMP '2000-01-01 00:00:00' AND __time < TIMESTAMP '2000-01-02 00:00:00' SELECT * FROM src WHERE __time >= TIMESTAMP '2000-01-01 00:00:00' AND __time < TIMESTAMP '2000-01-02 00:00:00' ``` -- 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]
