Xavier Lange

Results 78 comments of Xavier Lange

This sounds interesting but I do not have any experience with HDFS or siblings. Some assumptions I would like to have challenged: * One could call this is a distributed...

Awesome, thank you for the clarification. > Disk space quota is out of scope. I am not sure what high watermark means in this specific context. High watermark is a...

I needed some advisory locks for my web app. I needed to make sure a namespace was "locked" to avoid users from stepping on eachother. Here's my "lease" code: https://gist.github.com/xrl/3c5727e30e78ae300539fd93defc031b...

> Any reason not to watch instead? The lease holder could fail to update the lease (they crash, bug in lease implementation) and no updates would propagate through the watcher....

I've been a happy Lease user since opening this issue. I would be happy to contribute it back to the project sometime next week > On Oct 22, 2021, at...

@Dentrax yes, I use my bit of code in a production app. we have an in-house app release tool, built on actix-web, which uses advisory locks to keep our dev...

This was the approach I was _crawling_ towards. Hopefully I'm not being too obvious, but the `filtering_during_aggregation` test case fails: ``` #[test] fn filtering_during_aggregation() { let rename = "SELECT array_agg(name)...

I think this is failing because the `get_next_precedence` function doesn't consider the `FILTER` token. ``` [2022-08-22T18:16:08Z DEBUG sqlparser::parser] Parsing sql 'SELECT array_agg(name) FILTER (WHERE name IS NOT NULL) FROM region'......

Hmm, I think the FILTER is applied to the specific expression in the select. It's not for the whole select, but for each column. The example of this SQL that...