datagrok-ai / public

Public package repository for the Datagrok.ai platform
MIT License
40 stars 26 forks source link

#2903: Core | Calculated columns : fix restoring on data refresh #2903

Closed LesiaPavlenko closed 3 days ago

LesiaPavlenko commented 3 weeks ago

Calculated columns using MPO columns in formula are not restored on data refresh

gasserandreas commented 2 weeks ago

Problem To further specify this ticket: The root cause for this issue was introduced by us having multiple sources for calculated columns. Because of that during loading sequence our module is trying to restore calculated columns in the wrong dependency order. This leads to the situation of missing columns in the resulting DataFrame.

We know Datagrok has a built in feature to solve the dependency issue for calculated columns which works excellent for all cases. To ensure we are handling the dependency issue in a consistent way, we would like to re-use your dependency solving algorithm through Datagrok JavaScript API.

Therefore our ask would be: can you expose your calculated columns (re)-order algorithm through native Datagrok API?

Desired specs:

skalkin commented 2 weeks ago

@LaykDimon should be doable?

dnillovna commented 2 weeks ago

This issue has been mirrored in Jira: https://reddata.atlassian.net/browse/GROK-16198