Skip to content

Can't print timestamp(?) data with time zones #8

Closed

Description

@lidavidm

A Snowflake SHOW TABLES results in this error:

$ databow --driver snowflake --uri $SNOWFLAKE_URI
> show tables;
Failed to print batches: Parser error: Invalid timezone "America/Los_Angeles": only offset based timezones supported without chrono-tz feature

Presumably we just need to enable the listed feature.

Activity

  1. added
    bug
    on Jun 3, 2026
  2. lycovian commented on Jun 5, 2026

    @lycovian

    @lidavidm Sorry I don't have the rights to create a PR in this repo but I have a local branch that fixes this with the following Cargo.toml by adding a reference to arrow dependency that includes chrono-tz. You would need to build locally to get it to work:

    [package]
    name = "databow"
    description = "A command-line tool for querying databases via ADBC"
    version = "0.1.0"
    edition = "2024"
    license = "Apache-2.0"
    readme = "README.md"
    repository = "https://github.com/columnar-tech/databow"
    keywords = ["database", "sql", "adbc"]
    categories = ["command-line-utilities", "database"]
    include = ["/src", "/themes", "build.rs", "LICENSE", "README.md"]
    
    [dependencies]
    adbc_core = "0.23.0"
    adbc_driver_manager = "0.23.0"
    arrow = { version = "58.1.0", features = ["chrono-tz"] }
    arrow-array = "58.1.0"
    arrow-cast = "58.1.0"
    arrow-schema = "58.1.0"
    clap = { version = "4.6.1", features = ["derive"] }
    comfy-table = "7.2.2"
    nu-ansi-term = "0.50.3"
    reedline = "0.47.0"
    syntect = "5.3.0"
    terminal-colorsaurus = "1.0.3"
    
    [dev-dependencies]
    tempfile = "3.27.0"
    
  3. lidavidm commented on Jun 9, 2026

    @lidavidm
    MemberAuthor

    @lycovian what is preventing you from opening a PR? I see we have PRs from all users allowed currently

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions