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

Can not read FixedString #300

Open
adjust-petrov opened this issue Mar 7, 2025 · 0 comments
Open

Can not read FixedString #300

adjust-petrov opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@adjust-petrov
Copy link

Describe the bug

Corrupted output

Image

Steps to reproduce

select 
    number,
    nullIf(cast('ABC' as FixedString(8)), '') as str
from numbers(1, 2)

Expected behaviour

SELECT
    number,
    nullIf(CAST('ABC', 'FixedString(8)'), '') AS str
FROM numbers(1, 2)

Query id: fe0c7dfb-f554-462d-b8f4-b5b0d6b26a08

   ┌─number─┬─str─┐
1. │      1 │ ABC │
2. │      2 │ ABC │
   └────────┴─────┘

Error log

No errors

Configuration

Environment

  • metabase-clickhouse-driver version: 1.51.3
  • metabase-clickhouse-driver configuration: default
  • Metabase version: 0.53.5.2
  • OS: Ubuntu 22.04.3 LTS

ClickHouse server

  • ClickHouse Server version: 24.8.4.13
  • ClickHouse Server non-default settings, if any:
  • CREATE TABLE statements for tables involved:
  • Sample data for all these tables, use clickhouse-obfuscator if necessary
@adjust-petrov adjust-petrov added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant