Skip to content

[bug] Snowflake dialect missing from WASM playground dropdown #428

@ajitpratap0

Description

@ajitpratap0

Problem

The Snowflake dialect has full keyword support (pkg/sql/keywords/snowflake.go, PR #211) and is listed in the README as a supported dialect, but it is not exposed in the WASM playground at https://gosqlx.dev/playground/.

The playground currently offers: Generic, PostgreSQL, MySQL, SQLite, SQL Server, Oracle, ClickHouse — but not Snowflake.

Evidence

  • pkg/sql/keywords/snowflake.go — dialect keywords defined
  • pkg/sql/keywords/snowflake_test.go — tests pass
  • CHANGELOG.md — "Multi-dialect validation: postgresql, mysql, sqlite, sqlserver, oracle, snowflake, generic"
  • README — lists Snowflake as a supported dialect

Fix

Add { value: "snowflake", label: "Snowflake" } to the DIALECTS array in website/src/components/playground/Playground.tsx.

Also update CLAUDE.md and any user-facing copy that says "6 dialects" to say "7 dialects" — the correct count is: PostgreSQL, MySQL, SQLite, SQL Server, Oracle, Snowflake, ClickHouse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions