Skip to content

cfr sys-import: Importing table failed: XXX. Reason: Type is not JSON serializable: numpy.ndarray #482

@amotl

Description

@amotl

Problem

Following up on GH-481, we observed those error messages when invoking ctk cfr sys-import.

ctk cfr sys-import /path/to/cfr/crate/2025-07-09T02-41-44/sys

Details

2025-07-09 02:42:50,129 [cratedb_toolkit.cfr.systable        ] INFO    : Importing system tables from: /Users/amo/dev/crate/ecosystem/cratedb-retentions/cfr/crate/2025-07-09T02-41-44/sys
2025-07-09 02:42:50,443 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: users. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,512 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: cluster. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,557 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: nodes. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,589 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: shards. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,725 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: jobs_log. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,742 [cratedb_toolkit.util.cli            ] ERROR   : Importing table failed: jobs_metrics. Reason: Type is not JSON serializable: numpy.ndarray
2025-07-09 02:42:50,812 [cratedb_toolkit.cfr.systable        ] INFO    : Successfully imported 15 system tables

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions