aws-lambda-clickhouse
aws-lambda-clickhouse copied to clipboard
Enable Direct HTTPS URL Support in ClickHouse Lambda
Issue #, if available:
N/A
Description of changes:
- Introduced ClickHouseRunnerEnhanced class to add support for direct HTTPS URLs (in addition to S3).
- Updated buildQuery and buildS3Uri methods in ClickHouseRunner to handle HTTPS URLs and add automatic table function and format detection based on the URL.
- Refactored app.ts to use the enhanced runner for better HTTPS and S3 compatibility.
- Added handling for common open data URL patterns and improved legacy S3 compatibility.
- Backward compatibility maintained via ClickHouseRunner legacy class.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.