Skip to content

Commit

Permalink
fix: column types for DESCRIBE
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara committed Aug 9, 2024
1 parent facc390 commit 572eaf5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions fakesnow/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ def create_database(expression: exp.Expression, db_path: Path | None = None) ->
column_default AS "default",
'N' AS "primary key",
'N' AS "unique key",
NULL AS "check",
NULL AS "expression",
NULL AS "comment",
NULL AS "policy name",
NULL AS "privacy domain",
NULL::VARCHAR AS "check",
NULL::VARCHAR AS "expression",
NULL::VARCHAR AS "comment",
NULL::VARCHAR AS "policy name",
NULL::JSON AS "privacy domain",
FROM information_schema._fs_columns_snowflake
WHERE table_catalog = '${catalog}' AND table_schema = '${schema}' AND table_name = '${table}'
ORDER BY ordinal_position
Expand Down

0 comments on commit 572eaf5

Please sign in to comment.