Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duckdb: update to 1.2.0 #27747

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

intactio
Copy link
Contributor

@intactio intactio commented Feb 24, 2025

Description

duckdb: update to 1.2.0
https://github.com/duckdb/duckdb/releases

Build changes
  • Enabled ENABLE_EXTENSION_AUTOLOADING
  • Enabled ENABLE_EXTENSION_AUTOINSTALL
  • Adjust BUILD_EXTENSIONS for built-in
    • As-is: parquet;fts;httpfs
      • fts and httpfs: no longer supported built-in
    • To-be: autocomplete;icu;parquet;json
      • Add reasonable plugins to built-in
Refs.
Test binary for EXTENSION_AUTOINSTALL and EXTENSION_AUTOLOADING
$ duckdb
v1.2.0
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
D FROM duckdb_extensions();
┌──────────────────┬─────────┬───────────┬──────────────┬─────────────────────────────────┬───────────────────┬───────────────────┬───────────────────┬────────────────┐
│  extension_name  │ loaded  │ installed │ install_path │           description           │      aliases      │ extension_version │   install_mode    │ installed_from │
│     varchar      │ boolean │  boolean  │   varchar    │             varchar             │     varchar[]     │      varchar      │      varchar      │    varchar     │
├──────────────────┼─────────┼───────────┼──────────────┼─────────────────────────────────┼───────────────────┼───────────────────┼───────────────────┼────────────────┤
│ arrow            │ false   │ false     │              │ A zero-copy data integration …  │ []                │                   │ NULL              │                │
│ autocomplete     │ true    │ true      │ (BUILT-IN)   │ Adds support for autocomplete…  │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ aws              │ false   │ false     │              │ Provides features that depend…  │ []                │                   │ NULL              │                │
│ azure            │ false   │ false     │              │ Adds a filesystem abstraction…  │ []                │                   │ NULL              │                │
│ core_functions   │ true    │ true      │ (BUILT-IN)   │ Core function library           │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ delta            │ false   │ false     │              │ Adds support for Delta Lake     │ []                │                   │ NULL              │                │
│ excel            │ false   │ false     │              │ Adds support for Excel-like f…  │ []                │                   │ NULL              │                │
│ fts              │ false   │ false     │              │ Adds support for Full-Text Se…  │ []                │                   │ NULL              │                │
│ httpfs           │ false   │ false     │              │ Adds support for reading and …  │ [http, https, s3] │                   │ NULL              │                │
│ iceberg          │ false   │ false     │              │ Adds support for Apache Iceberg │ []                │                   │ NULL              │                │
│ icu              │ true    │ true      │ (BUILT-IN)   │ Adds support for time zones a…  │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ inet             │ false   │ false     │              │ Adds support for IP-related d…  │ []                │                   │ NULL              │                │
│ jemalloc         │ false   │ false     │              │ Overwrites system allocator w…  │ []                │                   │ NULL              │                │
│ json             │ true    │ true      │ (BUILT-IN)   │ Adds support for JSON operati…  │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ motherduck       │ false   │ false     │              │ Enables motherduck integratio…  │ [md]              │                   │ NULL              │                │
│ mysql_scanner    │ false   │ false     │              │ Adds support for connecting t…  │ [mysql]           │                   │ NULL              │                │
│ parquet          │ true    │ true      │ (BUILT-IN)   │ Adds support for reading and …  │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ postgres_scanner │ false   │ false     │              │ Adds support for connecting t…  │ [postgres]        │                   │ NULL              │                │
│ shell            │ true    │ true      │ (BUILT-IN)   │ Adds CLI-specific support and…  │ []                │ v1.2.0            │ STATICALLY_LINKED │                │
│ spatial          │ false   │ false     │              │ Geospatial extension that add…  │ []                │                   │ NULL              │                │
│ sqlite_scanner   │ false   │ false     │              │ Adds support for reading and …  │ [sqlite, sqlite3] │                   │ NULL              │                │
│ tpcds            │ false   │ false     │              │ Adds TPC-DS data generation a…  │ []                │                   │ NULL              │                │
│ tpch             │ false   │ false     │              │ Adds TPC-H data generation an…  │ []                │                   │ NULL              │                │
│ vss              │ false   │ false     │              │ Adds indexing support to acce…  │ []                │                   │ NULL              │                │
├──────────────────┴─────────┴───────────┴──────────────┴─────────────────────────────────┴───────────────────┴───────────────────┴───────────────────┴────────────────┤
│ 24 rows                                                                                                                                                    9 columns │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
D SELECT * FROM 'https://raw.githubusercontent.com/duckdb/duckdb-web/main/data/weather.csv';
┌───────────────┬─────────┬─────────┬─────────┬────────────┐
│    column0    │ column1 │ column2 │ column3 │  column4   │
│    varchar    │  int64  │  int64  │ double  │    date    │
├───────────────┼─────────┼─────────┼─────────┼────────────┤
│ San Francisco │      46 │      50 │    0.25 │ 1994-11-27 │
│ San Francisco │      43 │      57 │     0.0 │ 1994-11-29 │
│ Hayward       │      37 │      54 │    NULL │ 1994-11-29 │
└───────────────┴─────────┴─────────┴─────────┴────────────┘
D FROM duckdb_extensions() WHERE extension_name = 'httpfs';
┌────────────────┬─────────┬───────────┬──────────────────────┬────────────────────────────────┬───────────────────┬───────────────────┬──────────────┬────────────────┐
│ extension_name │ loaded  │ installed │     install_path     │          description           │      aliases      │ extension_version │ install_mode │ installed_from │
│    varchar     │ boolean │  boolean  │       varchar        │            varchar             │     varchar[]     │      varchar      │   varchar    │    varchar     │
├────────────────┼─────────┼───────────┼──────────────────────┼────────────────────────────────┼───────────────────┼───────────────────┼──────────────┼────────────────┤
│ httpfs         │ true    │ true      │ /Users/xxxxxxx/.du…  │ Adds support for reading and…  │ [http, https, s3] │ 85ac466           │ REPOSITORY   │ core           │
└────────────────┴─────────┴───────────┴──────────────────────┴────────────────────────────────┴───────────────────┴───────────────────┴──────────────┴────────────────┘
D .quit

$ tree ~/.duckdb/extensions
/Users/xxxxxxx/.duckdb/extensions
└── v1.2.0
    └── osx_arm64
        ├── httpfs.duckdb_extension
        └── httpfs.duckdb_extension.info
Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 15.3.1 24D70 arm64
Xcode 16.2 16C5032a

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vst install sudo port -vs install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

and fix extensions
@macportsbot
Copy link

Notifying maintainers:
@herbygillot for port duckdb.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants