Skip to content

ak.get_registration_config() and tweaks - #4752

Merged
ajpotts merged 2 commits into
Bears-R-Us:mainfrom
vasslitvinov:minor-get_registration_config
Aug 11, 2025
Merged

ajpotts merged 2 commits into
Bears-R-Us:mainfrom
vasslitvinov:minor-get_registration_config

Conversation

@vasslitvinov

@vasslitvinov vasslitvinov commented Jul 29, 2025 •

Copy link
Copy Markdown
Contributor
  • Add ak.get_registration_config().
  • Populate a Generator in the client with GeneratorSymEntry instances on the server only for those types that are requested in registration-config.json.
  • Minor code improvements I did while working on the following.

While there, redirected the file naming for bigint checkpoint data to the standard-ish generateFilename().

This PR initially added checkpointing of GeneratorSymEntry. However during testing I realized that, while checkpointing per se works, restoring from a checkpoint does not "roll back" Arkouda properly. This is because part of the Generator state, specifically its state field, is stored in the client and not on the server. Therefore backed out this checkpointing addition in the second commit in this PR.

See #4709 for discussion on this.

@lydia-duncan lydia-duncan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@vasslitvinov
vasslitvinov requested review from 1RyanK, ajpotts, drculhane and jaketrookman and removed request for drculhane July 29, 2025 21:06

@ajpotts ajpotts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. I noticed to fixed some other minor bugs, which is appreciated. Thanks!

Comment thread arkouda/client.py Resolved
Comment thread arkouda/numpy/dtypes.py Resolved
@vasslitvinov
vasslitvinov force-pushed the minor-get_registration_config branch 2 times, most recently from 1dbd2dc to baaf7cf Compare August 6, 2025 17:23
@vasslitvinov
vasslitvinov force-pushed the minor-get_registration_config branch from baaf7cf to e0dc1d6 Compare August 10, 2025 16:38
@ajpotts
ajpotts enabled auto-merge August 11, 2025 11:12
@ajpotts
ajpotts added this pull request to the merge queue Aug 11, 2025
Merged via the queue into Bears-R-Us:main with commit eeced71 Aug 11, 2025
@vasslitvinov
vasslitvinov deleted the minor-get_registration_config branch August 11, 2025 18:26
drculhane pushed a commit to drculhane/arkouda that referenced this pull request Aug 20, 2025
* Add `ak.get_registration_config()`.
* Populate a Generator in the client with GeneratorSymEntry instances on
the server only for those types that are requested in
`registration-config.json`.
* Minor code improvements I did while working on the following.

While there, redirected the file naming for bigint checkpoint data to
the standard-ish `generateFilename()`.

This PR initially added checkpointing of `GeneratorSymEntry`. However
during testing I realized that, while checkpointing per se works,
restoring from a checkpoint does not "roll back" Arkouda properly. This
is because part of the Generator state, specifically its `state` field,
is stored in the client and not on the server. Therefore backed out this
checkpointing addition in the second commit in this PR.

See Bears-R-Us#4709 for discussion on this.

---------

Signed-off-by: Vassily Litvinov <[email protected]>
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.

3 participants