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

SqPandasEngine.get_table_df() has broken code #27

Closed
jopietsch opened this issue Feb 6, 2020 · 3 comments
Closed

SqPandasEngine.get_table_df() has broken code #27

jopietsch opened this issue Feb 6, 2020 · 3 comments

Comments

@jopietsch
Copy link
Member

I don't know how to get the code to execute, but this, starting at line 114 is clearly broken, it tries to use files before it is assigned and doesn't have a colon after files.

                jobs = [
                    exe.submit(self.read_pq_file, f, fields, query_str)
                    for f in files
                ]

it's in a section that starts out with if use_get_files, so we must never be using use_get_files. I don't know what that does or how to test it.

@ddutt
Copy link
Member

ddutt commented Feb 6, 2020

:)
Thats valid python. Its not broken. files is assigned on line 74.

@jopietsch
Copy link
Member Author

jopietsch commented Feb 6, 2020

yeah, that part is valid, sorry.
but the 'for f in files' without a colon isn't, is it?

@jopietsch
Copy link
Member Author

nevermind :(

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

2 participants