Skip to content

Failed to create datafusion memory table: Error during planning: Mismatch between schema and batches #408

Description

@amokfa
❯ cat config.yaml
addr:
  http: 0.0.0.0:8080
  postgres: 0.0.0.0:5432
tables:
  - name: "tbl"
    uri: "tbl"
    option:
      format: "deltalake"%
❯ ./roapi -c config.yaml
[2025-08-15T07:22:24Z INFO  roapi::context] loading `uri(tbl)` as table `tbl`
error: Failed to build context: Failed to load table: Table error: Failed to create datafusion memory table: Error during planning: Mismatch between schema and batches

The delta lake uses parquet and contains a date column which isn't listed as a supported data type for parquet. https://parquet.apache.org/docs/file-format/types/
Could this be the issue?

Activity

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

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