Conversation
|
@max-sixty hey, would be happy to get your eyes on this |
|
@claude can you confirm whether |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
thanks @priithaamer ! looks good! I'll check whether |
|
@claude try again? |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
(OK I guess Claude is broken) I'll hit the button, thanks @priithaamer |
Thanks! Claude needs its me-time too. Will there be a release any time soon? If not, i'll resort to our internal build of the npm package. |
|
yes, we're a bit overdue for a release! I may try to finish the chumsky refactor so we're not pulling in two versions of chumsky. if I don't get that done in the next day or two, I'll do one; (feel free to remind me) |
lol fyi I looked into this and it apparently doesn't work with forks (!?) |
|
Fwiw, i found a regression related to |
Attempting to fix #5015 by letting Claude to grind on it for 30 mins. My own understanding of the internals of PRQL is still very limited. Here's the report from Claude:
Root Cause
The problem occurred in
prqlc/prqlc/src/semantic/resolver/functions.rsin theresolve_function_argsfunction. When resolving relational arguments for functions like join:NS_THATnamespaceNS_THATjoin a), the second reference would see the first one's columns, creating a circular dependency_paramnamespace, resulting in ambiguityThe Fix
Changed the resolution order in resolve_function_args:
This ensures that when resolving variable references, they don't see partially-populated namespaces from other arguments being processed in the same function call.
Testing
test_join_with_param_name_collisioninprqlc/prqlc/tests/integration/sql.rsThe fix is minimal, surgical, and preserves all existing functionality while resolving the circular reference issue.