Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rKlCM-004MCK-SD for pgsql-general@arkaria.postgresql.org; Tue, 02 Jan 2024 20:17:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rKlCL-001PX8-Ew for pgsql-general@arkaria.postgresql.org; Tue, 02 Jan 2024 20:17:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rKlCJ-001PX0-TY for pgsql-general@lists.postgresql.org; Tue, 02 Jan 2024 20:17:13 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rKlCE-00FD8w-Qf for pgsql-general@postgresql.org; Tue, 02 Jan 2024 20:17:10 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id DC9C53200AED; Tue, 2 Jan 2024 15:17:01 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 02 Jan 2024 15:17:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1704226621; x=1704313021; bh=fp3raHQu3XQLj7uUkO7SNxxskfxPBKVpGmUNozJC9yo=; b= XbAxhvqzoJTyvpeAfpjR0zGqLuy05MpVlv2XprHcxFKD+avweUVQTH8IpJbENiDS bgAgUYUFKVqm6K644UlHuWeWGKnfT6yto4kFEAQH6zMDnKWq/7ZvborkatUNAa9h K0oBZ+dd7cF4hSyANt4K3PNFC3S+y25fM5wuE/NwFrrH2eIugnrxzI4nywIQsDWY tWLhEj41i4JRTPTaCSZg/okgE6rjTjks2UxinNnpy6pXHF1QVt+wbJJix7N6MVnM +vAJfvmzAjiy3LlIAaLBzYWeSoEEtuA1KD8qAGROCIIXMyddfOU1PUIg44UEmEI2 gZkx39C1XEJoniZiM586Hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1704226621; x= 1704313021; bh=fp3raHQu3XQLj7uUkO7SNxxskfxPBKVpGmUNozJC9yo=; b=u em/QMHJOnMZi/UyK0kI0oui5+tpdT2fJfRF+GFkk7V7KcOATT+s+3EnnZGzLB4zc N8+7Q1K3udb87JhNZfQR5DoqP4LvXKi/FTWer3GTAQ+slgJ6Bp99zsOeBGatqzjG hCPdclO4DQErvNrPr+TX7hwI4RNxB8ttpLFIP7kzkbDg8MXis9tzHLehW6kakNhC RCVKUTyUU6dwVSzWHJuM/8Mj9cWvtqoYDbHTyb7VaaDz81pqe8yXwVEATUBHhtOh PxHMUN4M/HgDHzmU8mzZ62Fnvb6FadPJwzGZuj4k3eTHMOA7ZfOL0dr0sfmBRhyD /Y2vtyIVacbdOYIrFkZnw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdegfedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfvefhjggtgfesth ekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdr khhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetfedvff fhffdtvdelleefieeigeeiieetieehleevffehheetkeduvdeuleffieenucffohhmrghi nheprhgvrgguthhhvgguohgtshdrihhonecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdr tghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Jan 2024 15:17:00 -0500 (EST) Message-ID: <41243a15-d42c-48dd-9de4-a1799073bb78@aklaver.com> Date: Tue, 2 Jan 2024 12:16:59 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Import csv to temp table To: arun chirappurath References: <369a8ac6-e77d-4de6-878a-01eee781acaf@manitou-mail.org> <84b1254f-b409-44b8-a2cf-d5e4c0e8d828@aklaver.com> Content-Language: en-US Cc: pgsql-general From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/2/24 11:47, arun chirappurath wrote: Reply to list Ccing list > Hi Adrian, > > Love this tool..however it doesn't like supporting RDS. 1) This was Daniel Vérité's suggestion not mine. 2) Define "... doesn't like supporting RDS". a) You can generate an SQL statement without connecting to the database. Then use that statement directly in the database. b) If SQLAlchemy can reach the database then csvkit should be able to. > > https://csvkit.readthedocs.io/en/latest/ > > > Regards > Arun > -- Adrian Klaver adrian.klaver@aklaver.com