# NOT RUN {
# To connect to a database
my_db <- src_presto(catalog = "hive", schema = "web", user = "onur",
host = "localhost", port = 8888, session.timezone='Asia/Kathmandu')
# }
# NOT RUN {
First create a database connection with src_presto, then reference a tbl
within that database
my_tbl <- tbl(my_db, "my_table")
# }
Run the code above in your browser using DataLab