Is there a defined mechanism for mapping SQL types (as text) to SQLAlchemy column type classes?
还没有人认领这个 Issue。
评估
调研方向
首先检查 Databricks SQLAlchemy 方言如何处理 STRING 和 TIMESTAMP_NTZ 等 SQL 类型名称,然后将其与 SQLAlchemy 的 ischema_names 机制进行比较。完成的标准是确定是否可以使用现有 mapping;如果不能,则定义并记录一种经商定的机制来公开一个 mapping。
由索引模型根据 Issue 内容生成。
描述
May I ask if there is a mechanism for mapping SQL types (e.g. "STRING", "TIMESTAMP_NTZ") to SQLAlchemy column type classes (e.g. Text, DateTime) for the Databricks dialect? We use this sort of mapping, across database engines, relating to the reading of textual data dictionaries. For the "internal" SQLAlchemy dialects, this sort of mapping is generally available via ischema_names, although this isn't formally documented (see e.g. https://github.com/sqlalchemy/sqlalchemy/discussions/12230). Is there, or could there be, a method for the Databricks SQLAlchemy dialect? Many thanks!
- 主要语言
- Python
- 星标
- 24
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
databricks/databricks-sqlalchemy 的其他 Issue
-
`TIMESTAMP`, `TIMESTAMP_NTZ`, `TINYINT` and the other `TypeDecorator`s don't declare `python_type`未关闭
难度 2/5 1-3 小时 新手友好度 78/100
-
get_columns() missing @reflection.cache causes a warehouse round-trip on every reflection call可能已有人在做 @TangoEnSkai 于 51 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 92/100
-
get_foreign_keys() missing @reflection.cache causes excessive DESCRIBE TABLE EXTENDED queries可能已有人在做 @TangoEnSkai 于 51 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 90/100
-
TypeError when using Enum columns with the Databricks dialect (all 2.0.x releases)可能已有人在做 @TangoEnSkai 于 51 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 3/5 1-2 天 新手友好度 64/100
databricks/databricks-sqlalchemy#77 · 3 条评论 ·
查看 databricks/databricks-sqlalchemy 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
openwisp/openwisp-utils#777 ·
-
难度 2/5 1-3 小时 新手友好度 63/100
google-research/weatherbenchX#310 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
huggingface/peft#3955 ·
维护者通常 1 天内回复
-
author-page correction
难度 2/5 1-3 小时 新手友好度 60/100
acl-org/acl-anthology#10313 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 76/100
AOSSIE-Org/Gitcord-GithubDiscordBot#147 · 1 条评论 ·
维护者通常 1 天内回复