Skip to content

Add Athena get_named_query_statement method #1183

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

Merged
merged 2 commits into from
Feb 21, 2022

Conversation

jaidisido
Copy link
Contributor

@jaidisido jaidisido commented Feb 21, 2022

Feature or Bugfix

  • Feature

User can obtain the query string with:

sql = wr.athena.get_named_query_statement(named_query_id="id")
df = wr.athena.read_sql(sql=sql, database=default)

Relates

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
  • Commit ID: 49c3025
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@jaidisido jaidisido changed the title Add Athena get_name_query_statement method Add Athena get_named_query_statement method Feb 21, 2022
@jaidisido jaidisido self-assigned this Feb 21, 2022
@jaidisido
Copy link
Contributor Author

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-pDO66x4b9gEu
  • Commit ID: fa775c4
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant malachi-constant merged commit a9458b5 into main Feb 21, 2022
@kukushking kukushking deleted the enhancement-1177-named-query branch February 22, 2022 11:35
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