Adding NULL to a date fails on Snowflake
メンテナーはふだん 1 日以内に返信
評価
この issue はまだ評価されていません。
説明
A definition that adds NULL to a date fails on Snowflake. created + NULL compiles to "created" + NULL, and Snowflake rejects it: Invalid argument types for function '+': (DATE, NULL).
The type checker reads the expression as a temporal shift, because an untyped NULL is accepted as the interval, and gives it the type datetime. The emitters rewrite a temporal shift only when an operand has the type interval, so this one falls through to a plain +. Both packages have the same fault: _temporal_shift() and definition_sql_temporal_shift().
Found by running the corpus definition nullable date shift on Snowflake, with the live tests in #434.
- 主要言語
- Python
- スター
- 62
- フォーク
- 4
- 平均マージ
- 2日 9時間
- マージ済み PR(30日)
- 21
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
posit-dev/commons のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
R binds Snowflake semantic view variables without their declared type対応中かも @jat255 が 5 日前に担当しました。 オープンbug r
posit-dev/commons#447 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
R keeps the quotes in a Snowflake semantic view's quoted base table names対応中かも @jat255 が 5 日前に担当しました。 オープンbug r
posit-dev/commons#446 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
posit-dev/commons の issue をすべて見る
似ている issue
-
area/config comp/tools P2 platform/telegram type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NousResearch/hermes-agent#145412 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changes対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Community project: hosted MOSS-Image studio with a visual JSON layout builder (no ComfyUI needed)オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
OpenMOSS/MOSS-Image#27 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
deepspeedai/DeepSpeed#8925 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
external integration integration-submission
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
langchain-ai/docs#7077 ·
メンテナーはふだん 1 日以内に返信