Skip to content

Commit

Permalink
Fix query formatted string
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsanmok committed Feb 11, 2021
1 parent f756508 commit a7f2836
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 00_quickstart/06_Visualize_Reviews_Dataset.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@
"statement = \"\"\"\n",
"SELECT star_rating,\n",
" COUNT(*) AS count_reviews\n",
"FROM dsoaws.amazon_reviews_parquet\n",
"FROM {}.{}\n",
"GROUP BY star_rating\n",
"ORDER BY star_rating DESC, count_reviews \n",
"\"\"\".format(database_name, table_name)\n",
Expand Down Expand Up @@ -1332,4 +1332,4 @@
},
"nbformat": 4,
"nbformat_minor": 4
}
}

0 comments on commit a7f2836

Please sign in to comment.