Home
Bold Data Logo
  • Home
  • Data
  • Analytics & Insight
  • Blog
  • About
  • Free data and updates
Home
Bold Data Logo

ChatGPT > Change query_athena ... (1/2)

> Change query_athena to a singleton class called AthenaQuery that takes s3_output and region as parameters to the constructor. Let the constructor create and store a reusable Athena client connection. Put all the query execution and result transformation into a method called execute that takes the query and database as parameters.
ChatGPT > Change query_athena ... (1/2)
Home
  • LinkedIn
  • Twitter
  • Highlights
  • Contact
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
© 2022 Bold Data Ltd. All rights reserved.