def export_to_uri(table, uri, *args, **kwargs):
<EOL>plugin_name = plugin_name_by_uri(uri)<EOL>try:<EOL><INDENT>export_function = getattr(rows, "<STR_LIT>".format(plugin_name))<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise ValueError('<STR_LIT>'.format(plugin_name))<EOL><DEDENT>return export_function(table, uri, *args, **kwargs)<EOL>
Given a `rows.Table` and an URI, detects plugin (from URI) and exports