Added optional configuration for table_name

Added optional configuration to database_source for table_name. For
case where table configuration is subquery and would result in
unprocessable directory name for resulting local_directory.