Chengxu Bian

Results 53 comments of Chengxu Bian

I did `cargo test --no-fail-fast --all-targets --no-default-features --features "async-std" --features "storage-fs" --workspace`

@sdd `JoinHandle` in `Tokio` and `async-std` have different return types. In [Tokio](https://docs.rs/tokio/latest/src/tokio/runtime/task/join.rs.html#324) ```rs impl Future for JoinHandle { type Output = super::Result; ``` In [Async-std](https://github.com/async-rs/async-std/blob/b7be2183d55a6bd62907cac0b10732f377d39fe2/src/task/join_handle.rs#L79) ```rs impl Future for JoinHandle...

Thanks for your suggestions. We are working on sample answers and plan to support export!

I think the expected behavior is ```rust (|| { Some(true) })() == Some(true) // suggested as Some(true) == Some(true) ```

Possible solution: If the closure body is a block, and the block contains no statements but has a final expression, we can suggest replacing the entire closure with just that...

A simple snippet: ```python def pp(flag: bool) -> str | int: if flag: return "STR" return 123 a = pp(True) assert a.lower() == "str" ``` Result: ``` ....: Object of...

I tried `(MAX(?score) as ?score1). This issue still happened. ```sparql PREFIX search: PREFIX rdfs: SELECT ?subj (MAX(?score) as ?scoreabcd) WHERE { ?subj search:matches [ search:query "*Inti*"; search:property rdfs:label; search:score ?score;...

Hello @hmottestad, I am able to reproduce it. 1. Use `MAX` or `MIN` in the search query 2. Use `TupleFunctionEvaluationMode.NATIVE` or `TupleFunctionEvaluationMode.SERVICE`. But using `TRIPLE_SOURCE` is ok 3. There's only...

Under `TRIPLE_SOURCE` mode, `LuceneSaiConnection` uses the `TupleFunctionEvaluationStrategy` while others modes use the `DefaultEvaluationStrategy` https://github.com/eclipse-rdf4j/rdf4j/blob/b33d91485502d2f5266916c0581960e41b8f28b5/core/sail/lucene-api/src/main/java/org/eclipse/rdf4j/sail/lucene/LuceneSailConnection.java#L445 But `TupleFunctionEvaluationStrategy` has deprecated since 4.3.0. ```java /** * An {@link EvaluationStrategy} that has support for...