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

[FIX] Skip header row when not a DDL query #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

riyadhalnur
Copy link

DDL queries on Athena don't return a header row. If query contains a DDL statement, the first row is not skipped when doing a scan.

Closes #10. Thank you @Bobochka for the running code for this. I used this here but just added test case to verify.

Signed-off-by: Riyadh Al Nur [email protected]

Screenshot from 2019-12-31 18-33-40

DDL queries on Athena don't return a header row. If query contains a DDL statement, the first row is not skipped when doing a scan.

Signed-off-by: Riyadh Al Nur <[email protected]>
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.

1 participant