Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on CREATE POPULATION with a column of all nan values causes issue(s) #489

Open
curlette opened this issue Oct 28, 2016 · 0 comments
Open

Comments

@curlette
Copy link
Contributor

  1. During population creation, stattype guessing will set values in very sparse columns to null. Consequently, the failure doesn't occur during population creation, but rather when running analysis.

  2. A column might not originally have all null values, but does after stattype guessing nullifies some of them. Then, in order to make a valid population with no all-NaN columns, one must drop columns from the underlying table. This violates the contract that a table with a population(s) associated with it should not be modified.

Potential solution:
Create a separate copy of a table each time a new population is created for it. This way, if an observation needs to be incorporated into a population, it can be incorporated only into that population's copy of a table rather than into the original table (shared by populations, as it is now).

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

No branches or pull requests

1 participant