Samuel Colvin

Results 1293 comments of Samuel Colvin

From @ bjorkbjork on [slack](https://pydanticlogfire.slack.com/archives/C083V7PMHHA/p1751528009610749) > We've built a dynamic factory that compiles Agents, Tools, and MCP servers from database records into the PydanticAI classes at runtime, and iterates the...

This seems to be working well with `datafusion-functions-json`, see https://github.com/datafusion-contrib/datafusion-functions-json/pull/22

I've found an issue whilst working on https://github.com/datafusion-contrib/datafusion-functions-json/pull/22 ## Lexical Precedence doesn't work correctly See https://github.com/datafusion-contrib/datafusion-functions-json/pull/22/commits/f573a395da46c251479d0a06c3ea58f2dca3cfa1 The following works as expected in postgres: ```sql select '{"a": "b"}'::json->>'a'='b' -- True ```...

Precedence issue looks like it's an issue in `sqlparser` - https://github.com/sqlparser-rs/sqlparser-rs/issues/814#issuecomment-2196624432 😞

> Is all the effort here worth it, should we just add the 20 or so extra operators from the sql library to Operator? @alamb sorry I wasn't clear, having...

closing this, I'll follow up on #11180.

Nice! Any chance you could include the benchmark example from cpptoml like you used to, even if that package has been removed? Multiple benchmark cases are useful.