Man pages for moj-analytical-services/dbtools
Uses R wrapper function to send queries to athena.

create_temp_tableCreate a temporary table
dbtoolsdbtools: A package for accessing AWS Athena from the...
delete_database_and_dataDeletes both an Athena database and the underlying data on...
delete_partitions_and_dataDeletes partitions and the underlying data on S3 from an...
delete_table_and_dataDeletes both a table from an Athena database and the...
describe_tableShow the list of columns, including partition columns:...
get_query_columns_typesGet the data type of all columns queried.
get_query_executionFetch query execution details.
get_sql_from_fileRead in an SQL file and inject arguments with Jinja (if given...
pipePipe operator
read_sqlUses boto3 (in python) to send an sql query to athena and...
read_sql_querySend an SQL query to Athena and receive a dataframe.
render_sql_templateTakes an SQL query and injects arguments with Jinja.
repair_tableRun the Hive's metastore consistency check: 'MSCK REPAIR...
show_create_tableGenerate the query that created a table: 'SHOW CREATE TABLE...
start_query_executionStart a SQL Query against AWS Athena
start_query_execution_and_waitCalls start_query_execution followed by wait_query.
stop_query_executionStop a query execution
wait_queryWait for a query to end.
moj-analytical-services/dbtools documentation built on Sept. 29, 2024, 2:06 a.m.