Replies: 2 comments
-
With recent improvements, most notably crate/crate#11165, which added the The corresponding SQL DDL statement looks like: CREATE TABLE IF NOT EXISTS "doc"."testdrive" (
"id" TEXT DEFAULT gen_random_text_uuid() NOT NULL,
"name" TEXT,
"age" INTEGER,
"gender" TEXT,
PRIMARY KEY ("id")
); Currently, the schema has to be provided manually, maybe because
Footnotes |
Beta Was this translation helpful? Give feedback.
-
Hi again. The dataset library currently does not provide support for SQLAlchemy 2.x, yet. However, the sqlalchemy-cratedb package will not receive any improvements for SQLAlchemy 1.x any longer. We may revisit the library when it has gained corresponding support. Instead, we exercised convenient DWIM-like database access in Python and Shell through the Records library and program now. Records is also powered by SQLAlchemy, and Tablib. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
back in a while, I've tried to use the sweet
dataset
package with CrateDB.For exercising it, and to provide a common ground for others to experiment with, I've created the
cratedb-dataset-demo.py
gist.Within this meta issue, all related issues will be tracked which are needed to make the demo program work completely.
With kind regards,
Andreas.
References
gen_random_text_uuid
scalar crate#11165information_schema.key_column_usage
? crate#13102CrateDialect.get_pk_constraint
for CrateDB>=5.1 crate-python#459LIMIT ALL OFFSET 0
crate#13104server_default
column definition option sqlalchemy-cratedb#106lastrowid
and SQLAlchemy'sinserted_primary_key
attributes sqlalchemy-cratedb#94Beta Was this translation helpful? Give feedback.
All reactions