@julianhyde@headinthebox The prompt chat session is often much longer than the output.
Even Mythos doesn't oneshot everything. I am the heaviest user of Claude Code (#1 for tokens) and I would love it to be easier but high quality output typically takes intense effort
@nicoritschel@julianhyde Nice to have it as an extension!
I tried a version integrated into the DuckDB parser - unfortunately didn't have time to finish https://t.co/OzUfyXUtqP
@julianhyde@JustDeezGuy@MaineFrameworks@devabram Could make a new option type for each join so that it would keep track of which one introduced the missing value
This could integrate with statistics reporting as well
@julianhyde One big distinction is lambda syntax that accepts _ as an implicit parameter and lambdifier -- https://t.co/yHzHpgKbO9(_ * 2)
Feels like the recent easing of lambda syntax in JavaScript is the trend to follow
@julianhyde@morel_lang you could make a `int List` and then find the max. Well what about a `(DESC int) List`. The max of that is the min of the other as the comparisons are opposite right? But can int cast to DESC int?
In C++ there is std::set a container which maintains the type's order
@julianhyde@morel_lang suppose you want to group all log entries by user then order by timestamp (within that user) and unordered for all timestamps with the same value.
How would that be expressed? The unique constraints belong to groups not values ...
@julianhyde@morel_lang@rustlang who will be the first user of the Morel reference implementation?
If they are already using the JVM then they'll like that - otherwise Rust.
Of the great languages mentioned, the majority were first made in C . . . easiest to integrate.
@julianhyde@morel_lang this is cute! The commit requiring a whole table feels heavy.
Suppose you want to update a nested field of one column on one row. Then that's a lot of unpacking and repacking to do.
There's a discussion here
https://t.co/ftBFiInPhf
@igocrite@marcorus@hamiltonulmer yes we're absolutely not done -we want to make analytics easy in SQL, with less copy pasting :)
What should be the next step to tackle?
@julianhyde Consider three items a,b,c and the < comparator returns true only for a < b but false for everything else. How would you define a sort key except back onto a set with this partial order? If the output of the sort key can have a custom comparator like this then it's equivalent.
@carlineng check out @julianhyde 's work on MEASUREs in Calcite - now % of total can be defined: 100.0*SUM(c) / SUM(c ) AT (CLEAR GROUP) AS MEASURE `%total`