ktrueda/parquet-tools

Head argument is ignored when --columns are specified

exaspace opened this issue · 1 comments

For both csv and show actions, when the --columns argument is supplied, the --head value is ignored and all rows are presented.

Pull request #23 is raised to fix this. The fix is very simple and the existing test cases have been extended to verify the --head argument is honoured.

$ git co fix-head-argument
$ poetry run pytest --quiet tests/
...............................................                                                                            [100%]
47 passed in 4.67s