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

ARROW-2600: [Python] Add additional LocalFileSystem filesystem methods #2060

Closed
wants to merge 1 commit into from
Closed

Conversation

n0mn0m
Copy link

@n0mn0m n0mn0m commented May 17, 2018

When starting to dig into ticket 1360 I noticed some of the methods could be added for the LocalFileSystem. I wanted to get this one reviewed first, but also ask:

I have the hdfs docker image linked in ticket 1360. What I'm not sure of is how pytest and the current CI will spin up an HDFS image, and should I create files on HDFS for something like the cat method to use similar to how I did in this PR or is there a different/better way to handle test for this?

For 1319 do we know how much can be implemented in Python? I see a couple tickets tagged C++/Python so I didn't know if once I got into this ticket if there are certain pieces that are known to require C++ interaction or if should all be available to do in Python?

Lastly I styled this off cat in Ubuntu 16.04 (I doubt there is much if any difference across versions and flavors), but I was wondering how we want to implement the methods if we are worried about extra flags the terminal supports, things like printing the file name if it's a list of files and not printing with an individual file or just implementing the core functionality of printing the file lines? That's just one example, but I figured I would check as I move on to the other filesystem commands.

@xhochy xhochy changed the title Arrow-2600: [Python] Add additional LocalFileSystem filesystem methods ARROW-2600: [Python] Add additional LocalFileSystem filesystem methods May 17, 2018
@n0mn0m n0mn0m closed this May 27, 2018
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

Successfully merging this pull request may close these issues.

None yet

1 participant