curl_httpfs

httpfs mit Connection-Pool, HTTP/2 und asynchronem I/O.

Maintainer: dentiny

Installation und Laden

INSTALL curl_httpfs FROM community;
LOAD curl_httpfs;

Beispiel

SELECT length(content) AS char_count FROM read_text('https://raw.githubusercontent.com/dentiny/duck-read-cache-fs/main/test/data/stock-exchanges.csv');

Über curl_httpfs

Diese Erweiterung schreibt die HTTP-Schicht von httpfs auf Basis von libcurl und epoll neu und bietet folgende Funktionen:

  • 100 % kompatibel mit httpfs; verwendet standardmäßig die curl-basierte Implementierung, erlaubt aber auch den Fallback auf httplib.
  • Aktiviert HTTP/2 standardmäßig.
  • Implementiert einen TCP-Connection-Pool.
  • Alle Netzwerk-I/O-Operationen werden asynchron ausgeführt.

Hinzugefügte Funktionen

function_name function_type description comment examples
curl_httpfs_get_tcp_connection table NULL NULL
curl_httpfs_http_util_name scalar NULL NULL

Überladene Funktionen

Diese Erweiterung fügt keine Funktionsüberladungen hinzu.

Hinzugefügte Typen

Diese Erweiterung fügt keine Typen hinzu.

Hinzugefügte Einstellungen

name description input_type scope aliases
curl_httpfs_client_implementation Select the HTTPUtil implementation to be used. Supports multi_curl, curl, httplib, and default (multi_curl). VARCHAR GLOBAL []
curl_httpfs_enable_verbose_logging Turn on and off curl-based http util verbose logging. BOOLEAN GLOBAL []