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] Dask print does not print all rows #195

Closed
goodwanghan opened this issue Apr 29, 2021 · 0 comments · Fixed by #194
Closed

[BUG] Dask print does not print all rows #195

goodwanghan opened this issue Apr 29, 2021 · 0 comments · Fixed by #194
Labels
Milestone

Comments

@goodwanghan
Copy link
Collaborator

Minimal Code To Reproduce

%%fsql dask
CREATE [[0,1],[0,2],[1,1],[1,3]] SCHEMA a:int,b:int
PRINT 3 ROWS

Describe the bug
The problem is the head function of dask requires npartitions, and even setting to -1, if a df has 5 records and I want to print 10 rows, I still get the warning which is not nice. So we should revert to itertuples approach.

Environment (please complete the following information):

  • Backend: pandas/dask/ray? dask 2021.4.1
  • Backend version:
  • Python version: 3.7
  • OS: linux/windows
@goodwanghan goodwanghan added this to the 0.5.4 milestone Apr 29, 2021
@goodwanghan goodwanghan linked a pull request Apr 29, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant