Skip to content

Create graph snapshot on behalf of the user when %reset --snapshot is unsupported on current graph version #651

@michaelnchin

Description

@michaelnchin

Community Note

  • Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Is your feature request related to a problem? Please describe.

When opting to pass skipSnapshot=True with %reset via either the line argument or UI options, certain versions of Neptune Analytics will return a validation error noting that snapshot creation is unsupported:

Screenshot 2024-07-16 at 7 34 40 PM

Describe the solution you'd like

If the above error is returned, we should first attempt to create a snapshot on the user's behalf, using the CreateGraphSnapshot API. Afterwards, the graph reset call should be re-submitted with the skipSnapshot argument omitted.

Additional context
Add any other context or screenshots about the feature request here. Describe any alternatives you've considered.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

Resolved

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions