![]() ![]() Parameters - profile : str, optional The name of the AWS profile to use which is typical stored in the ``credentials`` file. Please note ssl is always enforced when connecting. If any of host, port, dbname, user and password are not provided, a config_yaml file must be provided with those parameters in it. Inherits ``Database`` and implements the specific ``COPY`` and ``UNLOAD`` functionality. class Redshift ( S3, Database ): """Locopy class which manages connections to Redshift. utility import ( compress_file_list, concatenate_files, find_column_type, get_ignoreheader_number, split_file, write_file, ) logger = get_logger ( _name_, INFO ) errors import DBError, S3CredentialsError from. """ import os from pathlib import Path from. """Redshift Module Module to wrap a database adapter into a Redshift class which can be used to connect to Redshift, and run arbitrary code. # See the License for the specific language governing permissions and # limitations under the License. # You may obtain a copy of the License at # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # SPDX-Copyright: Copyright (c) Capital One Services, LLC # SPDX-License-Identifier: Apache-2.0 # Copyright 2018 Capital One Services, LLC # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |