crate / crate/crate

Support for CREATE TYPE

Open
#15,836 5 comments 0 reactions 0 assignees View on GitHub
needs concrete use-case needs upvotes
Dominant language
Java
Stars
4.4k
Forks
616
Avg merge
14h 49m
Merged PRs (30d)
206

Description

### CrateDB version

5.6.4

### CrateDB setup information

_No response_

### Problem description

I'm trying to replace postgres with CrateDB, but it seems CrateDB doesn't support creating types like postgres does, and our existing tables rely on a custom type.

### Steps to Reproduce

```sql
CREATE TYPE sort_key AS (
time timestamptz,
ident text
);
```

### Actual Result

`no viable alternative at input 'CREATE TYPE'`

### Expected Result

Should create the type

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.