Description Usage Arguments Value Examples
View source: R/hive_utilities.R
Given a data.frame, creates a query to create a remote hive table
1 | hive_create_table(df, table_name, remote_path, sep = ",")
|
df |
the data frame |
table_name |
the output table name |
remote_path |
path to hdfs or s3 bucket where the CSV is stored |
sep |
separator |
a string with the query
1 2 3 4 | query <- hive_create_table(impressions, 'default.impressions', 's3://alexr-bucket/impressions')
query <- hive_create_table(impressions, 'default.impressions', '/alexr-hdfs/impressions/')
executeAthenaQuery(query)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.