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

add partition key marker for Athena and Presto schemas #2764

Closed
wants to merge 3 commits into from

Conversation

alison985
Copy link
Contributor

for: mozilla#430

ports the following upstream: https://github.com/mozilla/redash/pull/201/files
for previous code review see: #2655

@vercel
Copy link

vercel bot commented Aug 26, 2018

This pull request is automatically deployed with Now.

To access deployments, click Details below or on the icon next to each push.

Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, but this needs another pass, adding back the docstring. Thank you, @alison985!

Otherwise this is good to go!

@@ -31,6 +31,21 @@
}


# for athena and presto
def format_schema(results):
schema = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry but the docstring changes from 17b9a0a didn't make it here, could you please add it?

@@ -31,6 +31,21 @@
}


# for athena and presto
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to have this extra code comment.

Copy link
Member

@jezdez jezdez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, quick update, I got feedback from Arik that adding a "[P]" to indicate the partition would not suffice on a UX design level and will need further follow-up. This PR is blocked while we get the needed feedback from the Redash frontend team.

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.

2 participants