Closed jonasbadstuebner closed 8 months ago
Describe the bug When I created a query for CockroachDB like
ALTER TABLE IF EXISTS mytable ADD COLUMN IF NOT EXISTS "special" STRING AS ((duration_seconds // 86400)::STRING) VIRTUAL;
using the floor division of CockroachDB (// -> ref) it get's formatted to
//
ALTER TABLE IF EXISTS mytable ADD COLUMN IF NOT EXISTS "special" STRING AS ((duration_seconds / / 86400)::STRING) VIRTUAL;
and the query is invalid now (/ / is not real).
/ /
To Reproduce Steps to reproduce the behavior:
test.sql
Expected behavior The query should be
Desktop (please complete the following information):
Describe the bug When I created a query for CockroachDB like
using the floor division of CockroachDB (
//
-> ref) it get's formatted toand the query is invalid now (
/ /
is not real).To Reproduce Steps to reproduce the behavior:
test.sql
with the contents from aboveExpected behavior The query should be
Desktop (please complete the following information):