Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parse datatype with nullable(tuple type) error #410

Merged
merged 2 commits into from
Apr 25, 2024

Conversation

TCeason
Copy link
Collaborator

@TCeason TCeason commented Apr 25, 2024

CREATE TABLE t(
  id tuple(
    STRING,
    array(tuple(array(int), array(STRING NOT NULL)))
  )
)

The err is a bug.

insert into t values(NULL);
error: ParseError: Nullable type must have one argument

Fix #409

```sql
CREATE TABLE t(
  id tuple(
    STRING,
    array(tuple(array(int), array(STRING NOT NULL)))
  )
)
```

The err is a bug.

```sql
insert into t values(NULL);
error: ParseError: Nullable type must have one argument
```
@everpcpc everpcpc merged commit a8f1348 into databendlabs:main Apr 25, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: parse nullable(tuple) should not return parse err.
2 participants