Skip to content

Commit 864121d

Browse files
committed
feat: add int64 and uint64 type aliases
- int64 -> bigint - uint64 -> bigint unsigned
1 parent aefb7cf commit 864121d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/datajoint/declare.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
TYPE_ALIASES = {
2121
"FLOAT32": "float",
2222
"FLOAT64": "double",
23+
"INT64": "bigint",
24+
"UINT64": "bigint unsigned",
2325
"INT32": "int",
2426
"UINT32": "int unsigned",
2527
"INT16": "smallint",
@@ -40,6 +42,8 @@
4042
# Type aliases must come before INTEGER and FLOAT patterns to avoid prefix matching
4143
FLOAT32=r"float32$",
4244
FLOAT64=r"float64$",
45+
INT64=r"int64$",
46+
UINT64=r"uint64$",
4347
INT32=r"int32$",
4448
UINT32=r"uint32$",
4549
INT16=r"int16$",

0 commit comments

Comments
 (0)