| 1525 | } |
| 1526 | |
| 1527 | StorageURL::StorageURL( |
| 1528 | const String & uri_, |
| 1529 | const StorageID & table_id_, |
| 1530 | const String & format_name_, |
| 1531 | const std::optional<FormatSettings> & format_settings_, |
| 1532 | const ColumnsDescription & columns_, |
| 1533 | const ConstraintsDescription & constraints_, |
| 1534 | const String & comment, |
| 1535 | const ContextPtr & context_, |
| 1536 | const String & compression_method_, |
| 1537 | const HTTPHeaderEntries & headers_, |
| 1538 | const String & http_method_, |
| 1539 | ASTPtr partition_by_, |
| 1540 | bool distributed_processing_) |
| 1541 | : IStorageURLBase( |
| 1542 | uri_, |
| 1543 | context_, |
| 1544 | table_id_, |
| 1545 | format_name_, |
| 1546 | format_settings_, |
| 1547 | columns_, |
| 1548 | constraints_, |
| 1549 | comment, |
| 1550 | compression_method_, |
| 1551 | headers_, |
| 1552 | http_method_, |
| 1553 | partition_by_, |
| 1554 | distributed_processing_) |
| 1555 | { |
| 1556 | context_->getRemoteHostFilter().checkURL(Poco::URI(uri)); |
| 1557 | context_->getHTTPHeaderFilter().checkAndNormalizeHeaders(headers); |
| 1558 | } |
| 1559 | |
| 1560 | |
| 1561 | StorageURLWithFailover::StorageURLWithFailover( |
nothing calls this directly
no test coverage detected