Skip to content

Conversation

@DavePearce
Copy link
Collaborator

@DavePearce DavePearce commented Jun 30, 2025

This replaces lookups with conditional lookups where it makes sense to do so in the LONDON fork. Conditional lookups offer performance benefits, as they do not generated computed columns to implement selectors.

@DavePearce DavePearce linked an issue Jun 30, 2025 that may be closed by this pull request
@DavePearce DavePearce force-pushed the 679-feat-make-use-of-defclookup branch 2 times, most recently from 107dc39 to 7ddada2 Compare July 1, 2025 22:24
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

This replaces lookups with conditional lookups where it makes sense to
do so in the LONDON fork.  Conditional lookups offer performance
benefits, as they do not generated computed columns to implement
selectors.
This update paris-specific lookups to use defclookup where appropriate.
This replaces occurences of deflookup with manual selectors with
instances of defclookup (where it makes sense to do so) in the Shanghai
fork.
This updates occurences of deflookup to use defclookup instead (when
this is makes sense) for the cancun fork.
This updates various lispX files to use defclookup (when appropriate).
This fixes a typo made during the translation of deflookup into
defclookup.
@DavePearce DavePearce force-pushed the 679-feat-make-use-of-defclookup branch from 8d12b80 to 7d79602 Compare July 2, 2025 01:33
cursor[bot]

This comment was marked as outdated.

@DavePearce DavePearce force-pushed the 679-feat-make-use-of-defclookup branch from 81d131c to 375c194 Compare July 2, 2025 02:34
cursor[bot]

This comment was marked as outdated.

This function is part of the lookup constraint `hub-into-wcp-for-sox`.
It computes a negative number for a given field which, previously, was
being hidden by the fact that the selector was not active (i.e. so -1 *
0 gave 0).  Since the selector multiplication is no longer present, this
value was remaining as -1.

The solution here is to put back a multiplication which ensures the
negative value does not arise in practice.
@DavePearce DavePearce force-pushed the 679-feat-make-use-of-defclookup branch from 375c194 to bb8cb73 Compare July 2, 2025 02:41
@DavePearce DavePearce changed the title use defclookup in place of deflookup (for london) use defclookup in place of deflookup Jul 2, 2025
@DavePearce DavePearce merged commit 312ebeb into master Jul 2, 2025
4 checks passed
@DavePearce DavePearce deleted the 679-feat-make-use-of-defclookup branch July 2, 2025 04:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: make use of defclookup

3 participants