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

[Bug]: Failed to import data big data file #2837

Closed
2 of 3 tasks
Arvydas21 opened this issue Jul 22, 2024 · 9 comments · Fixed by jasp-stats/jasp-desktop#5636
Closed
2 of 3 tasks

[Bug]: Failed to import data big data file #2837

Arvydas21 opened this issue Jul 22, 2024 · 9 comments · Fixed by jasp-stats/jasp-desktop#5636
Assignees
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Import/Export

Comments

@Arvydas21
Copy link

JASP Version

0.19.0

Commit ID

No response

JASP Module

Unrelated

What analysis are you seeing the problem on?

No response

What OS are you seeing the problem on?

Windows 11

Bug Description

Failed to import data from .sav and .csv file. There are >1500 attributes (columns).
I reduced the characters to 967, import from a .csv file, save as Research result DB_am_1d.jasp, but the program crashes during startup, reports that the file location is bad.
There are 444 entries. What's the problem that I can't run Jasp? I can send the data file.

Expected Behaviour

Failed to import data
Tyrimo rezultatu DB_am_1d.zip

Steps to Reproduce

  1. Sumažinau požymių iki 967

...

Log (if any)

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@RensDofferhoff
Copy link

RensDofferhoff commented Jul 23, 2024

JASP should be able to handle up to 1500 columns.
I will have a look

@RensDofferhoff
Copy link

Could you share the data file?

@shun2wang
Copy link
Contributor

@RensDofferhoff the data file is in bug report above. I think something different here.

@RensDofferhoff
Copy link

Thats the JASP file. I hope for the original csv

@tomtomme
Copy link
Member

tomtomme commented Jul 23, 2024

There were problems in the past with >1000 columns because of the sqlite backend.

@RensDofferhoff
Copy link

I had the same thought but the COLUMN_MAX should be 2k by default.
I will make a little test file to check

@RensDofferhoff
Copy link

Ah I see. The limit is 999 Columns currently.
We must improve this soon.
But even if I recompile sqlite to handle 32k columns the performance of loading that 999 columns is lacking.
So its not an easy fix

@shun2wang
Copy link
Contributor

yes, it's depends how we store these tables, we may store them as relational tables indexed by primary keys but not only single table to improve query performance and limit.

@RensDofferhoff
Copy link

A PR was merged that allows loading of 16k columns in reasonable time:
jasp-stats/jasp-desktop#5651

@tomtomme tomtomme added Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Import/Export and removed OS: Windows 11 Bug labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: High Bugs that are negatively affecting the area of the program, but don't need immediate fix. Component: Import/Export
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants