-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Conversation
This pull request is automatically deployed with Now. To access deployments, click Details below or on the icon next to each push. |
There was a problem hiding this 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 = {} |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
for: mozilla#430
ports the following upstream: https://github.com/mozilla/redash/pull/201/files
for previous code review see: #2655