Reuben (Matatika)
02/12/2025, 2:25 PMBATCH
messages support manifests referencing public HTTPS URLs? Or it is still only local filesystem/S3 as per https://sdk.meltano.com/en/v0.44.3/batch.html?Reuben (Matatika)
02/12/2025, 2:39 PM{
"type": "BATCH",
"stream": "custom_event",
"encoding": {
"format": "jsonl"
},
"manifest": [
"<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000001.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T140337Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1799&X-Amz-Credential=...&X-Amz-Signature=>...",
"<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000002.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T140337Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Credential=...&X-Amz-Signature=>...",
"<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000003.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T140337Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Credential=...&X-Amz-Signature=>...",
"<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000004.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T140337Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1799&X-Amz-Credential=...&X-Amz-Signature=>...",
"<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000005.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T140337Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1800&X-Amz-Credential=...&X-Amz-Signature=>..."
]
}
Probably not due to all the X-Amz-*
query params.Reuben (Matatika)
02/12/2025, 2:57 PMsqlalchemy.exc.ProgrammingError: (snowflake.connector.errors.ProgrammingError) 001020 (42601): SQL compilation error:
invalid source URL scheme for PUT command: '<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000001.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T145235Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1799&X-Amz-Credential=...&X-Amz-Signature=...>'. Only local file URL is allowed.
[SQL: put %(file_uri)s '@~/target-snowflake/custom_event-46f32aca-fd20-4340-ab06-98f8510d7433']
[parameters: {'file_uri': '<https://iterable-exports-prd-us-east-1.s3.amazonaws.com/org-.../export-.../.../file-0000000000001.json?X-Amz-Security-Token=...&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20250212T145235Z&X-Amz-SignedHeaders=host&X-Amz-Expires=1799&X-Amz-Credential=...&X-Amz-Signature=...'}>]
(Background on this error at: <https://sqlalche.me/e/20/f405>)
Edgar Ramírez (Arch.dev)
02/12/2025, 5:21 PMEdgar Ramírez (Arch.dev)
02/12/2025, 5:22 PMfsspec
. HTTP locations would be supported out-of-the-box, I think.Reuben (Matatika)
02/12/2025, 5:38 PMfsspec
from me - we use it in a couple places.
HTTP locations would be supported out-of-the-box, I thinkYep, and a bunch of others too: https://filesystem-spec.readthedocs.io/en/latest/api.html#built-in-implementations